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

chicagomom’s picture

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).

tinny’s picture

lordrt21’s picture

thanks for the tips, will try both methods and see which suits best