7.5. Assigning Permissions to a Role

Body

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:

    ModulePermission

    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

Knowledge Category