Editor Permissions & Changing page owner1 user found helpful
I've created pages (3rd level) and assigned a group to edit each one. The member(s) of the groups are able to access their page and enter edit mode. They are able to add new blocks to their page and delete blocks.
They are NOT able to edit the blocks they create. They aren't able to edit any blocks- they can only create new ones and delete the old ones. When they click on a block and choose edit, the window says Access Denied. So they can't go back and edit something if they make a mistake or need to update content. Super frustrating.
They can add new sub pages as well. On the sub pages they can add blocks and then edit the blocks after they've been saved (proper behavior).
I've checked and re-checked all the permissions and the only thing I can see creating the problem is that the Group user/editor is not the page Owner. So I tried to change the page owner in page Properties but the Choose User menu that appears is blank (I have about 15 users).
Is there a separate permission to allow users to Edit Blocks in addition to Adding and Deleting?
Why is my Choose User menu blank when I attempt to assign a new page Owner?
i believe it should not even show it if you cant edit
do you have advanced permissions on?
Still doesn't explain why groups with edit permission can only add/delete blocks and not edit them.
The test worked as expected- user was able to edit the blocks on the page.
Went back to the malfunctioning install and tried creating a new page and assigning an existing group to edit it. Same result as before- user could not edit blocks (only add/delete) even on the page that was created after advanced permissions were enabled.
- WORKAROUND -
Since I just need this to work right now, I modified edit_block_popup.php to ignore "$bp->canWrite()"
This allows the users to edit the blocks without checking whether or not they have permission.
I haven't figured out where $bp->canWrite() is checking their permissions or how to set the permission values it's checking.
I created a site (only testing at the moment), set up some pages/sub-pages/sub-sub-pages with test content. I then turned on advanced permission, created a new user group and gave it full permissions to a single page. Users in that group can do everything except edit blocks, they just get 'Access Denied' when trying. Interestingly, edit is available from the menu when clicking on blocks, its just after clicking on edit that you get the 'Access Denied' message.
Incidentally, the window that pops up with the 'Access Denied' message has no buttons for closing it - the only way to get rid of it is to refresh the page.
I tried adding the new group to the home page and resetting the single page to inherit permissions and then users in this group were able to edit the blocks. Seeing that this worked, I removed the group from the home page and tried adding it to the parent page of the page in question thinking that it might work the same as adding the group to the home page. No luck, the blocks went back to being un-editable.
So, this leads me to believe that the ability for a user/group to edit a block is being taken from the home page only, regardless of what actual permissions are setup to override the home page permissions ... at least if advanced permissions is turned on after content has been created as per SpeedBump's tests.
I'm going to try a fresh install now ...
Thanks for the great work on Concrete5! Very refreshing experience after proprietary CMS's and a frustrating foray into Drupal.
Gah! I just lost the ability to see all content in all versions of this page when I edited the permissions for the page using a user account in the new group ... not sure what that was ... only the admin account can still see the content. Anyways ... perhaps a fresh install is in order.
Seems page-specific permissions magically turned on and all permission check boxes were turned off. Resetting the page to inherit permissions fixed that problem.
First you Install, Then Before doing ANYTHING! (ok maybe you can login) put in the advanced permissions line!
and then do whatever you want :P
are you using windows or linux?
It's as if the block edit permissions are being inherited from the top-level page, not the permissions of the page they're on.
Read Versions Write Approve Delete Admin
X X X X X
is what i put
all but admin for the user and it seems to be fine
Restored user's access to edit top-level (Home) page and user was able to edit existing blocks again (no error).
Sometimes deleting the page/group/user and re-doing it all fixes it, some times it doesn't.
The user has all rights to the page, can create blocks but cannot make changes to the block at a later time.
Murray in 5.4 the Permissions system has been greatly improved, 5.4RC1 came out today
I was able to get the blocks to edit by resetting area permissions. A pain, but it works. I will read up on 5.4RC1.
Thanks a lot.
Access Denied error is really annoying...