Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
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...
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...
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.)
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.
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.
Comments
Comment #1
Anonymous (not verified) commentedThe 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...
Comment #2
Christefano-oldaccount commentedI just tried
nodeaccess.module,v 1.4.2.4 2006/10/26 19:02:17and have the same problem.Have you successfully used nodeaccess with og?
Comment #3
Anonymous (not verified) commentedI 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...
Comment #4
Christefano-oldaccount commentedThanks 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.
Comment #5
bennidhamma commentedI'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.
Comment #6
Anonymous (not verified) commentedAgain 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.
Comment #7
mantyla commented