BlackCatDevelopment / BlackCatCMS

BlackCat CMS is a PHP5, HTML5 content management system
https://blackcat-cms.org
Other
11 stars 9 forks source link

Restricted user sees "Addons" menu entry in backend #335

Closed webbird closed 8 years ago

webbird commented 8 years ago

There's nothing he can do, but the menu entry should be hidden.

webbird commented 8 years ago

Found the error in ./backend/groups/get_permissions.php. The permission to the addons section is granted if any of the keys 'languages', 'modules' or 'templates' exists, instead of testing if they are set to true.