By: Prem Tiwari | Last Updated:
In this tutorials i will explain the Settings the Users, roles and permissions in drupal. One of the great features of Drupal is the ability to control how and what people can access on your site. You can set permissions for these “users” to define who can do what for Drupal core features and contributed modules. For example, you probably won’t want casual visitors to edit your homepage. However, the site owner or trusted user should be able to do so. To learn more about the term “user”, learn about Differentiating the Four Different Kinds of “Users” Encountered When Installing Drupal.
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). The exception is the first user created (user/1) -see here. Although it is not necessary, many sites have additional levels of users.
Managing roles in Drupal 5.x and 6.x
To create or edit a role, click Administration > User management > Roles.
To create or edit a user, click Administration > User management > Users.
To specify the permissions for a role, click Administration > User management > Permissions.
To add editors to your site, you will first need to create an editor role. Click 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 address, enable the ‘editor’ checkbox and click ‘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’.
Managing roles in Drupal 7
To create (or edit) a role, navigate to the Roles Page People > Permissions tab > Roles tab . Like the example above, in 5.x and 6.x, Type in the name of your new role (e.g. ‘editor’) and click ‘Add role’.
Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.View all posts by Prem Tiwari