跳转到主要内容

Creating a Role

Goal

Create a Vendor role to allow some - but not all - users to perform specific tasks.

Prerequisite knowledge

Concept: Users, Roles, and Permissions

Steps

  1. In the Manage administrative menu, navigate to People > Roles (admin/people/roles).
  2. You will find default roles Anonymous user, Authenticated user, and Administrator already present. Roles page
  3. Click Add Role to add a custom role.
  4. Type Vendor in the Role name field. Click Save. adding vendor as a role
  5. You will see the message "Role Vendor has been added." displayed at the top of the page. vendor role added success message

Expand your understanding

Videos

Additional resources

Drupal.org community documentation page "User Roles"