Permissions problems - things showing up that shouldn't be

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
liquid
Forum Members
Forum Members
Posts: 59
Joined: Sun Aug 07, 2005 10:20 pm

Permissions problems - things showing up that shouldn't be

Post 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?
westis

Re: Permissions problems - things showing up that shouldn't be

Post 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.
alfblack

Re: Permissions problems - things showing up that shouldn't be

Post 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.
generic
New Member
New Member
Posts: 6
Joined: Fri Feb 09, 2007 8:55 pm

Re: Permissions problems - things showing up that shouldn't be

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Permissions problems - things showing up that shouldn't be

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”