There's no "Allowed Roles" field in admin/settings/nodeaccess . All the other fields are there.

I'm using 4.7.3.

Comments

Anonymous’s picture

The roles come from drupal's built in user_roles() function, which doesn't seem to have any access checks. I can't imagine why your install doesn't show them. Even if you have no roles there should still be a fieldset there...

Christefano-oldaccount’s picture

I just tried nodeaccess.module,v 1.4.2.4 2006/10/26 19:02:17 and have the same problem.

Have you successfully used nodeaccess with og?

Anonymous’s picture

I wouldn't recommend using it with OG. Drupal does not deal with multiple access control modules well, at least not yet.

I don't know why roles aren't showing up for you. No one else has had this problem and I can't think of anything that could possibly cause it. I might be able to figure out something if I had access to your install, but as is I don't have an answer...

Christefano-oldaccount’s picture

Thanks for following up and helping me with this. I'm not sure what's causing the issue either, but nodeaccess might work on another installation just fine so I'll definitely try it again the next time I have a site I need it on. I'll avoid using it with OG, too.

What I'm trying to do is use the book module as a basic wiki, but "lock" certain book pages so that they cannot be edited, or alternatively, cannot be deleted. Can you recommend any solutions or contrib modules that will help me achieve this? (The closest I've found is the checkout module, but it lacks the roles support I need.)

Thanks again for your help with nodeaccess.

bennidhamma’s picture

I'm having this problem too. Only have access to user roles. Fresh install of 5.1. Have a number of modules installed, including ecommerce, CCK, forums, image, etc.

Anonymous’s picture

Again I can't really see how this is possible. I'd be happy to investigate but you'd either need to give me access to your drupal installation, or send me the drupal installation and a database dump. Otherwise I have no means to determine what is going on.

mantyla’s picture

Status: Active » Closed (fixed)