I need to allow only certain roles to be able to see some content. In Drupal 6 you only allow permissions to specific roles in /admin/user/permissions for different content types. In D7 however, there is no option for viewing. Only Create new content, Edit own content, Edit any content, Delete own content and Delete any content.

How will I restrict users from viewing content they shouldn't see?

Comments

Katrina B’s picture

This is a D7 issue, not a Custom Pagers issue. You may want to take a look at modules that allow you to define which content is available to which roles; the Node Option Premium module may be one route to consider.

andriesellis’s picture

Katrina B,

Thanks for your reply, but I want to restrict certain content types to only be viewable by specific roles. Not the content itself.

example: I have a content 'Events' , and only users in the role 'Members' may have access to view it. At the moment you can change edit/create access, but not viewing.

Ketto’s picture

I think this is what you are looking for: Content Access Module