By lordrt21 on
Hello
I have 2 roles defined for my site, namely Student and Staff, and want to make students gain access to only those pages which will have a student permission assigned to them, same for staff. How can I do this? I tried with NodeAccess module, but still my pages are viewable by both roles.
Comments
organic groups
If using the organic groups module is an option, that would be a good one to consider. Content published to a group can be viewable only to members of the group. You would create two groups (students/faculty) and then make each user a member of one or the other group. Then when you publish content, you'll have the option to publish just to the student group, the faculty group, both, and/or make the content otherwise "public" (viewable to everyone).
try node privacy byrole
try node privacy byrole module.
module: http://drupal.org/project/node_privacy_byrole
explanation: http://drupal.org/handbook/modules/node_privacy_byrole
thanks for the tips, will try
thanks for the tips, will try both methods and see which suits best