Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to alter permissions based on content types/individual nodes or sections of the site? If so, how?

share|improve this question

closed as not a real question by Letharion, AjitS, niksmac, Patrick Kenny, kiamlaluno Mar 4 '13 at 15:35

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Are you looking to to this in code, or through the UI with contributed modules? – Chapabu Feb 27 '13 at 10:12
up vote 1 down vote accepted

Giving roles different permissions for different content types is possible even with core drupal straight out of the box! Check it out: just create a new content type, and go to edit the permissions of any of your current roles (/admin/people/permissions).

Under the 'Node' section of the permissions, you'll see you can select which content types each role can create, edit and delete. The create/edit/delete permissions under this section simply repeat for each of the content types on your site (so you have to visit this section and adjust permissions as needed each time you add a new content type).

Now, if you want different roles to have distinct permissions based on both content types and where on the website those content types appear, you'll have to add the functionality of additional modules to your site. One good one is the Organic Groups module. That modules allows your site to be organized in groups (or sections) with users having distinct permissions depending on which group/section they are members of. I cannot possible go into all the details of using that module in this answer, however, a good place to start if you feel you need this functionality, would be the module's own documentation pages: http://drupal.org/node/1114858

Good luck!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.