I'm trying to restrict specific content types per user role so that some users can only edit certain content. I've tried configuring content access module but can't seem to restrict content types.
-
Check with the drupal default permissions /admin/people/permissions. For each content type and based on role, you can set permissions to create,edit or delete a content. – Manikandan Jan 20 '16 at 7:59
You can set the permissions for each content type and role with Drupals default permissions.
Go to /admin/people/permissions there is a section called Node where you can set the individual permissions for each content type:
- Create new content
- Edit own content
- Edit any content
- Delete own content
- Delete any content
Keep in mind that the permission Bypass content access control overrides the access restrictions of the individual content types. So if a role has this permission, the user can view, edit and delete all content.
You do it by using Rules module:
Add a rule when user view nodes
Select content type where you want to view content for specific user role
- In action add component or action to redirection i.e 301 user or show message Access denied