Managing user roles

User roles are very useful for providing varied degrees of access to particular features or areas of your site. Drupal makes it very easy to set up roles for editing, creating, or just viewing content, and in this recipe we will be setting up a new Editor role which we will configure to have the permission only to edit the Basic page and Article content.

Getting ready

As part of this recipe, we will be creating a new user account. You will need an e-mail address that has not already been used by a user account in the system.

How to do it...

We will begin by creating the new role; we will then apply the permissions for the new role. Finally, we will create an editor user and assign the Editor role to the user.

  1. Select People from ...

Get Drupal 7 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.