I have three CCK contents types. I have installed the Content Acces module and config the Grants by default in the admin/user/nodeaccess menu.

I have cheked "Give node grants priority" and "Show grant tab for this node type" in every content type and I have selected the grant View for anonymous users and View and Edit for authenticated users.

Ok, but when I add a new content always appear without grants. The anonymous users cannot view the content and the authenticated users cannot view and edit the content. Only are working the Node author grants.

Now If I enter in the grants tab of the new node I can see that there are not any grant checkbox selected. Then, If I select the appropriated grants and save all works fine.

The new content are not created with the default grants, any idea?

Comments

oriol_e9g’s picture

Status: Active » Closed (fixed)

I test it more and If I don't check the checkbox "Give node grants priority" all works.

fago’s picture

Title: Don't work the grants "by default" » grants "by default" are not applied with customized priority
Status: Closed (fixed) » Active

It's still a bug if it doesn't work with customized priority.. ;)
- but which checkbox? Are you sure you aren't using nodeaccess but not content_access ?

Content access let's you set the priority number - so which number have you used?

oriol_e9g’s picture

OOops, sorry, I have the two modules (nodeaccess and contentaccess) and It was the nodeacces menu. I need to uninstall one module :S

fago’s picture

Status: Active » Fixed

ok, then I'll close this.
please reopen if you think the bug is in this one.

Anonymous’s picture

Status: Fixed » Closed (fixed)