Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By daveplml on
Hey all,
I'm running the Drupal site online at http://www.plml.org., and I'd like to be able to set permissions for a single page within the site -- I need it to be inaccessible EXCEPT for a specific role.
I've tried the Nodeaccess module, but this doesn't seem to do the trick... any ideas about how I can limit access to JUST a specific page, to ONLY a specific set of groups (Project Contributors and Administrators)?
Thanks so much!
--Dave
Comments
http://drupal.org/project/acl
http://drupal.org/project/acl
You could make a new content
You could make a new content type at /admin/content/types/add and use node access to only allow roles/permissions for that certain content type. Even though it is a new content type, it would still function the same as a page.
_
For fine grained access control (down to the user and node level) I use the http://drupal.org/project/content_access module but that might be overkill. Maybe the http://drupal.org/project/simple_access module would work.
Three easy modules to restrict node access
You might find the Private, Protected Node, or Premium modules useful. They do much less than flexible solutions like ACL, but are great for simple needs. Here's a detailed look at the three:
http://www.drupalace.com/blog/2008_08_29/limiting_node_access_three_quic...