After changing the delegation of a book page a couple of times, the permissions are not properly rebuilt, despite the fact that the table book_page_access might be correct.
After changing the delegation of a book page a couple of times, the permissions are not properly rebuilt, despite the fact that the table book_page_access might be correct.
Comments
Comment #1
franzCommited in the dev. Now node permissions are rebuilt on form submit.
Comment #2
franzCommited in the dev. Now node permissions are rebuilt on form submit.
Comment #3
franzThe bug ist not related with rebuilding permissions.
What happens is that when you delegate to multiple roles, only the first role is checked for permission.
If you delegate to role1 and role2, a user with role1 will be able to edit the node, with or without role2, but a user without role1 will not be able to edit, even if he/she has role2.
Comment #4
franzI changed to normal because most site designs will want to delegate book pages to 1 role, and thus won't be affected.
Comment #5
franzComment #6
franzApparently fixed, needs some testing.
Comment #7
franz