Skip to main content
Version: 8.2

Add and assign a permission to a role

In this guide, we will show you how to use Identity to add and assign a permission to a role.

Want to learn more about roles?

Head over to our documentation on roles to learn more.

Write access needed

To assign a permission to a role and assign a role to a user, you need to have write access to Identity. Read our guide on managing user access to learn more.

Add and assigning a permission to a role

Add a permission

Want to learn more about permissions?

Head over to our documentation on permissions to find out more.

To create a permission using Identity, take the following steps:

  1. Log in to the Identity UI and navigate to the API tab:

add-permission-api-tab

  1. Click the API you would like to create a permission for. This will open the details page.

  2. Click the Permissions tab beneath the API name.

  3. Click Add Permission located on the top right of the table and a modal will open.

  4. We are now able to fill out the details of the permission. For this guide, we will use a set of example values. When you have inserted the details, click Add:

add-permission-modal-2

On confirmation, the modal will close, the table will update, and your new permission will be shown:

add-permission-refreshed-table

Assign a permission to a role

To assign a permission to a role using Identity, take the following steps:

  1. Log in to the Identity UI and navigate to the Roles tab, select Permissions > Assign Permission:

assign-a-permission-tab

  1. Select the API which contains the permission you want to assign.

  2. Select the permission you would like to assign and click Add.

On confirmation, the modal will close, the table will update, and your assigned permission will be shown:

assign-a-permission-refreshed-table