I'm using nodeaccess to keep anonymous users from viewing book pages organized under the intranet/ path. When trying to allow a few users to edit some of those pages, noting seems to take. It's odd because this works in some cases, but others not - I haven't figured out the pattern yet.

One difference I see in {node_access} is the account with the 'realm' nodeaccess_author does get the edit menu, the other does not. Why would the one author be getting that realm set? What's the right way to set these?

Comments

nickco’s picture

Here's some info from my access table. I'm also wondering if something at the parent doesn't need to be set. E.g., for node.module, allow to edit own nodes [x] group.

[nid, gid, realm, grant_view, grant_update, grant_delete]
315, 99, 'nodeaccess_uid', 1, 1, 1 ...'nick'
315, 2, 'nodeaccess_rid', 1, 0, 0
315, 10, 'nodeaccess_author', 1, 1, 1
315, 105, 'nodeaccess_uid', 0, 1, 0

32, 99, 'nodeaccess_author', 1, 1, 1 ...'nick'
32, 2, 'nodeaccess_rid', 1, 0, 0
32, 1, 'nodeaccess_rid', 1, 0, 0

nickco’s picture

Title: User can't edit page even after grant » User can't edit page even after grant
Status: Active » Fixed

This turned out to be an issue of the user or role have permissions to use the node's input format. Finding the solution was a bit circuitous but we found it after all. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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