Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi user/ permissions
#1
Hi there.
=========

Was thinking about this , this morning and was wondering what is the change of this being looked at ? Basically I would like to extend the multi site plugin to allow user level access to certain pages that can be added, new pages being added etc. tabs being viewed and menu items being selected.

Now I know the multi user plugin can achieve alot of this, but please help me right if I am wrong, if javascripting is enabled and a previous javascript error did not break the process. But the risk is always there that something can go bad and then the script does not execute or finish execution and the tabs are available for html clicking. I was thinking if the server side part where the tabs for example is created in include-nav.php
if a internal function similiar to createNavTab can be created with a index to give of where it must be places and then the normal createNavTab will allow entries between these constant indexes (basically first 6 is seen as system entries and rest after that is placed between 4 and 5 when created.)

when all these entries go via the same functions a global array can be filled that can alter be filtered by plugins when the final exec_action for creating the nav tabs is called. The same can be done with sidebar menu items. (helping to disable new page etc).

filter can be handled with the proposed filters added by multi site plugin to filter pages.

Can one say if I am missing something, wrong track ?
will appreciate any comments or info on the subject of the global design and system around this.

thanks

Johannes
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#2
dominionit Wrote:Hi there.
=========

Was thinking about this , this morning and was wondering what is the change of this being looked at ? Basically I would like to extend the multi site plugin to allow user level access to certain pages that can be added, new pages being added etc. tabs being viewed and menu items being selected.

Now I know the multi user plugin can achieve alot of this, but please help me right if I am wrong, if javascripting is enabled and a previous javascript error did not break the process. But the risk is always there that something can go bad and then the script does not execute or finish execution and the tabs are available for html clicking. I was thinking if the server side part where the tabs for example is created in include-nav.php
if a internal function similiar to createNavTab can be created with a index to give of where it must be places and then the normal createNavTab will allow entries between these constant indexes (basically first 6 is seen as system entries and rest after that is placed between 4 and 5 when created.)

when all these entries go via the same functions a global array can be filled that can alter be filtered by plugins when the final exec_action for creating the nav tabs is called. The same can be done with sidebar menu items. (helping to disable new page etc).

filter can be handled with the proposed filters added by multi site plugin to filter pages.

Can one say if I am missing something, wrong track ?
will appreciate any comments or info on the subject of the global design and system around this.

thanks

Johannes

Custom Permissions is on the top of my list for my Multi User plugin.
I have a lot of work right now so I cannot give an estimate of when this will be added.
However, if you would like to make any contributions to the plugin or give me a starting point/advice for adding this functionality, It would be appreciated. You will find the plugin consists of basic coding with tons of comments.

In relation to your comment about access to blocked pages if javascript is disabled;
If a page is blocked for a particular user, css and javascript is used to hide the menu items. However, if for some reason the menu items still displayed or if a user tried to type the URL to a blocked page directly, the plugin kills the script and notifies the user they are not allowed access to that particular page.
Reply
#3
mikeh Wrote:Custom Permissions is on the top of my list for my Multi User plugin.
I have a lot of work right now so I cannot give an estimate of when this will be added.
However, if you would like to make any contributions to the plugin or give me a starting point/advice for adding this functionality, It would be appreciated. You will find the plugin consists of basic coding with tons of comments.

In relation to your comment about access to blocked pages if javascript is disabled;
If a page is blocked for a particular user, css and javascript is used to hide the menu items. However, if for some reason the menu items still displayed or if a user tried to type the URL to a blocked page directly, the plugin kills the script and notifies the user they are not allowed access to that particular page.

this is wonderfull news. I will look into this, just have to finish something for somebody and when I have time will come back to this, was just a thought really. I understand the clientside via javascript controlling what gets show and now is more flexible as it does not require or depend on so many GS changes as it can do its own. Main reason I thought of GS controlling all creation of navigation and sidebars via central functions that fill global aray it means your system admin area can have easy access to this. but of course if your system is active in the admin area it can already get access to all these buttons and sections via javascript. this might not need the change. thanks for your comment and feedback.

johannes
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#4
dominionit Wrote:
mikeh Wrote:Custom Permissions is on the top of my list for my Multi User plugin.
I have a lot of work right now so I cannot give an estimate of when this will be added.
However, if you would like to make any contributions to the plugin or give me a starting point/advice for adding this functionality, It would be appreciated. You will find the plugin consists of basic coding with tons of comments.

In relation to your comment about access to blocked pages if javascript is disabled;
If a page is blocked for a particular user, css and javascript is used to hide the menu items. However, if for some reason the menu items still displayed or if a user tried to type the URL to a blocked page directly, the plugin kills the script and notifies the user they are not allowed access to that particular page.

this is wonderfull news. I will look into this, just have to finish something for somebody and when I have time will come back to this, was just a thought really. I understand the clientside via javascript controlling what gets show and now is more flexible as it does not require or depend on so many GS changes as it can do its own. Main reason I thought of GS controlling all creation of navigation and sidebars via central functions that fill global aray it means your system admin area can have easy access to this. but of course if your system is active in the admin area it can already get access to all these buttons and sections via javascript. this might not need the change. thanks for your comment and feedback.

johannes

core filters would be great though. It could really expand the capabilities of the plugin.
Reply
#5
Hi Mikeh,

I've been searching the forums, extend library and your Multi-user plugin thread but cannot find an answer to this questions posted above. (A few people have asked the same thing on your plugin thread but no definitive answer was given - that I could find)

This thread came up in searching and it shows promise as you said it would be in the next version but that was two years ago and I have the latest version of the Multi-version plugin and it does not seem to have this feature.

Basically I am looking for something that will restrict "Admins" to only access certain pages and NOT others. I see the "Custom Permissions" heading just above the SAVE button in your plugin but it does not have any options - Is there supposed to be more options. I have attached an image that I see.    

Hope you can help or point me in the right direction.
Reply




Users browsing this thread: 1 Guest(s)