7.5. Assigning Permissions to a Role

Last updated on
11 January 2024

Goal

Change the permissions for the Vendor role so that users can create, edit, and delete Recipe and Vendor content, format the content, and contact each other.

Site prerequisites

The Vendor role must exist on your site. See Section 7.3, “Creating a Role”.

Steps

  1. In the Manage administrative menu, navigate to People > Roles (admin/people/roles). The Roles page appears.
  2. Click Edit permissions in the dropdown for the Vendor role. The Edit role page appears where you can see all the available actions for the website such as, for example, Post comments or Administer blocks. The available permissions depend on the modules that are installed in the site. Note: Some permissions may have security implications. Be cautious while assigning permissions to roles.
  3. Check the boxes for the following permissions, listed by module:

    Module Permission

    Contact

    Use users' personal contact forms

    Filter

    Use the Restricted HTML text format

    Node

    Recipe: Create new content

    Node

    Recipe: Edit own content

    Node

    Recipe: Delete own content

    Node

    Vendor: Edit own content

    Granting users with the Vendor role the rights to create, delete and edit Recipes

  4. Click Save permissions. You will get a message saying your changes have been saved.

    Confirmation message after updating permissions

Expand your understanding

Additional resources

Drupal.org community documentation page "Managing Users"

Attributions

Adapted and edited by Boris Doesborg, Brian Emery, and Jojy Alphonso at Red Crackle, and Joe Shindelar at Drupalize.Me, from "User Roles", copyright 2000-2024 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-permissions.asciidoc

Help improve this page

Page status: No known problems

You can: