Cannot add new pages

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
florin
New Member
New Member
Posts: 5
Joined: Sun Sep 27, 2009 7:07 pm

Cannot add new pages

Post by florin »

Hi all,

Just added a new user which has the right "Add Pages" I suppose that this user should be able to create new pages but is not. Looking into the code, I see in admin\listcontent.php at line 1084 the code:

if ((check_permission($userid, 'Add Pages') && count($mypages)) || check_permission($userid,'Manage All Content'))

which from what it looks like is seems that a user can only add a new page if it has the "Manage All Content" right or it has the "add pages" right but IT ALSO has pages created, which cannot happen for a new user....

I suppose this is a bug which was missed because most test were done with existing users.

Note: the website is running 1.6.6 upgraded from 1.6.1

Regards,
florin
Sonya

Re: Cannot add new pages

Post by Sonya »

This permission allows creating new pages under the page where this user is set as Owner or Additional Editor.

Not a bug. Works as desired.
Post Reply

Return to “CMSMS Core”