Users, Roles and Permissions

Last modified: June 20, 2009 - 22:18

Drupal understands that different people visiting your website should have different permissions. e.g. On your website, you probably won't want casual visitors to edit your homepage. You, however, as the site owner, should be able to do so.

Drupal allows you to setup any number of different kinds of users or 'Roles'. Many websites have editors and site administrators; editors to make content updates and site admins to install new modules and make larger configuration changes.

Out of the box, Drupal recognizes two types of site visitors - those who are logged in (or 'Authenticated' users) and those who are not (or 'Anonymous' users). Although it is not necessary, many sites have additional levels of users.

Roles are created and edited at Administration >> User management >> Roles.
Users are created and edited at Administration >> User management >> Users.
What each of those roles is allowed to do is specified via Permissions, at Administration >> User management >> Permissions

To add an additional editor to your site, you will first need to create a new role. Go to Administration >> User management >> Roles. Type in the name of your new role (e.g. 'editor') and click 'Add role'.

To add a new 'editor' user, go to Administration >> User management >> Users and click the 'Add User' tab. After typing the username and email, select the 'editor' checkbox and press 'Create new account'

Finally, you can configure permissions for editors at Administration >> User management >> Permissions. To give Editors the ability to edit any page within the site, scroll down the permissions page and click the checkbox next to 'edit any page content'.

You can configure other permissions as you desire.

 
 

Drupal is a registered trademark of Dries Buytaert.