i have created 3 roles: author, reviewer and admin. I also created a paper content type which has some fields that can be edited only by the author role, and some fields that can be edited only by the reviewer role. There is also a user reference field that can be edited only by admin role (so that admins can decide which reviewer will review the paper). I use the node access auto reference module so that the reviewer who is referenced can edit the specific paper node.

I login as an author and create a new paper node. Then i login as admin and edit that node referencing a reviewer in the appropriate field of that node. Then i login as the reviewer who is referenced and edit that node again. When that happens the author who created that node canot have access to it! If i login as admin again and edit the node (no changes just save) the author regains his access. Only when the reviewer edits the node the author looses his access again.

Is this a bug?

Comments

kenorb’s picture

Do you have some references to user profiles?
If yes, can you download the latest dev and activate 'Check permission via owners.' option and please re-test.
Thanks for report.
If this will not help, please activate temporary 'Show connection messages.' from settings, go to this node which you have no access and send me what it says.

ioarvanit’s picture

Before your answer i installed the Nodeaccess module which solves the problem. I also tried the dev release and that works ok too.

kenorb’s picture

Category: bug » support
Status: Active » Fixed

That's fine.
Thanks for reporting.
If any other problems with module you will have, feel free to re-open.

Status: Fixed » Closed (fixed)

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