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

franz’s picture

Status: Active » Needs review

Commited in the dev. Now node permissions are rebuilt on form submit.

franz’s picture

Commited in the dev. Now node permissions are rebuilt on form submit.

franz’s picture

Title: Node permissions not properly rebuilt » Node permissions granted only to first role.
Priority: Critical » Normal
Status: Needs review » Needs work

The 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.

franz’s picture

I changed to normal because most site designs will want to delegate book pages to 1 role, and thus won't be affected.

franz’s picture

Title: Node permissions granted only to first role. » Node permissions not properly rebuilt for book page creation
franz’s picture

Status: Needs work » Needs review

Apparently fixed, needs some testing.

franz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.