I'm using Drupal 5.1 and nodeaccess. Almost every thing works as spected, but when I edit a node it losts all the grants and I have to fill that information again.

Also, when I select default node-type grants (in admin/user/nodeaccess) the default permissions are not set when I create or edit a node.

¿Is this the default behaviour?

Thank you very much.

Comments

matw8’s picture

Hello. I'm also seeing the problem of grant information not saving. As soon as you edit a node, almost all the grant information disappears from the node_access table. Only one row remains, which is the nodeaccess_author realm. All the rows with a realm of nodeaccess_rid disappear.

Also no default grants appear when creating a node.

matw8’s picture

I'd also like to add that the nodeaccess table still seems to contain the required grant information, however that doesn't propagate to the /node/x/grant page.

Anonymous’s picture

I am unable to reproduce this problem. In order to look into it further I'd need access to your system or for you to send me a database dump and site tarball (chad@confluencewebservices.com) in addition to the steps taken to reproduce this problem.

Anonymous’s picture

Status: Active » Closed (duplicate)

duplicate of http://drupal.org/node/139080 I believe

matw8’s picture

Hi there. I don't think this problem is a duplicate. I've just downloaded the latest nodeaccess module and the problem is still there.
Let me try this module on a few other sites I have to see if this is site specific.

Anonymous’s picture

It is indeed a duplicate, I just forgot to actually fix it in the last cvs update. Whoops.

mantyla’s picture

Status: Closed (duplicate) » Closed (fixed)

Completely fixed in the 1.2 release. Saving the grant tab now writes all grants correctly, and doesn't touch the author grant at all, as it shouldn't.