Page 1 of 1
Permissions problems - things showing up that shouldn't be
Posted: Thu Dec 29, 2005 4:17 am
by liquid
I have a group that only has these permissions:
- Add Pages
- Modify Any Page
- Modify Files
- Modify News
- Remove Pages
However, when I log in as that user, I still see these sections:
- Extensions -> Tags
- Extensions -> FCKeditor
- Site Admin -> Manage Bookmarks
I managed to fix something like this before, but this seems to be a bit beyond me after all the holiday turkey. Can anyone help?
Re: Permissions problems - things showing up that shouldn't be
Posted: Thu Dec 29, 2005 2:22 pm
by westis
I think Tags are always shown, so that the user can read the Help files for how each of them are used. FCKeditor has introduced permissions in the latest version only (not included in 0.11.2), before that everyone had permission to modify FCKeditor.
The Manage Bookmarks thing I am not sure where permission for that is set. But the idea is that any user can have his/her own shortcuts to common tasks, so anyone should then be able to manage their own bookmarks.
I haven't actually used them much myself, as I think they are a bit too hidden, so they're not really shortcuts anyway. But I suppose they should be user-specific.
Re: Permissions problems - things showing up that shouldn't be
Posted: Wed Mar 22, 2006 6:01 am
by alfblack
Yeh, it would be very nice if those menus can be removed from certain users. I know a few that will freak out when they see things like those. IMO, users will be happier 'cause they think they know the whole software. Well, all they need is editing pages.
Re: Permissions problems - things showing up that shouldn't be
Posted: Tue Jan 01, 2008 2:09 pm
by generic
this worked better for me:
in class.admintheme.inc.php
around line 775 change the permission of the extensions to something else you would want it to be allowed under like managing users as i did inthe example
Code: Select all
'description'=>lang('extensionsdescription'),'show_in_menu'=>$this->HasPerm('extensionsPerms')),
change it to for example:
Code: Select all
'description'=>lang('extensionsdescription'),'show_in_menu'=>$this->HasPerm('userPerms')),
which will now only show the extensions menu if the user has permission to manage users.
Re: Permissions problems - things showing up that shouldn't be
Posted: Tue Jan 01, 2008 4:12 pm
by calguy1000
This is because some modules (most likely FCKEditor and Bookmarks) aren't handling the 'VisibleToAdmin()' method properly in the code. if they were, then your users would not see the extensions module at all.
I changed the Captcha module a while back to solve this problem, Try getting ahold of the author of the other two modules to get them to fix this problem.