7.3. Creating a Role

Last updated on
14 April 2025

Goal

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

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

Additional resources

Drupal.org community documentation page "User Roles"

Attributions

Adapted and edited by Jack Probst, Boris Doesborg, and Joe Shindelar from "User Roles", copyright 2000-2025 by the individual contributors to the Drupal Community Documentation

 

This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.

Source file: user-new-role.asciidoc

Help improve this page

Page status: No known problems

You can: