If I called up the link like: http://domain.com/node/20
I don't want anyone to see the page but people in the roles assigned to it.

I tried:
This works fine to hide menu item
http://drupal.org/project/menu_per_role

These didn't work at all
http://drupal.org/project/content_access
http://drupal.org/project/simple_access

I also have these installed:
http://drupal.org/project/acl
http://drupal.org/project/taxonomy_access

People ask questions about how to do this and most replies are only in the form of links; which in this case are useless; either I'm not setting them up right; or they do not work for direct access to the link; which is hard to image; or another module is stepping on the permissions, which is why its not working.

Anyone know how to setup a module that can do this?

Thanks

Comments

bwv’s picture

From the content access project page:

"This module allows you to manage permissions for content types by role and author."

Why did it not work for you?

WorldFallz’s picture

Yep-- content_access or simple_access is probably the way to go. And anytime modules are in use in thousands of sites, chances are it works fine and there's something wrong with your installation and/or configuration.

jflesher’s picture

Using the Simple Access module:

I created a new content type; similar to story, lets call it development; I added access to only one role i.e. Development
As such, under Access tab:
Access Group View Update Delete
Owner permissions x x x
Development x x

I created a new content (development)
The same Access settings as above.

I log out.

I call up http://domain.com/node/20
And there it is; the article I should not see.

Am I missing something?

gpk’s picture

You've probably tried this already, but make sure you disable *all other* access control modules.

WorldFallz’s picture

Yes-- disable and uninstall (don't just delete) all access control modules. Then visit admin/content/node-settings and rebuild permissions. Then dl and install simple_access fresh-- make sure to follow the install.txt instructions and try again. I just tried it with the current 6.x-2.0 release and it works fine.

jflesher’s picture

It turned out to be taxonomy_access; I removed it and it works right now.

Thanks

gpk’s picture

Glad to hear you got it working :-)