1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-04 00:18:40 +01:00

docs: improve wording of how-to for cprs.

This commit is contained in:
Thomas Heartman 2022-01-07 13:45:12 +01:00
parent 3fd31ced01
commit eb08fb4c89

View File

@ -5,19 +5,21 @@ title: How to create and assign custom project roles
Custom project roles were introduced in **Unleash 4.6** and are only available in Unleash Enterprise. Custom project roles were introduced in **Unleash 4.6** and are only available in Unleash Enterprise.
::: :::
This guide takes you through [how to create](#creating-custom-project-roles "how to create custom project roles") and [assign](#assigning-custom-project-roles "how to assign custom project roles") [custom project roles](../user_guide/rbac.md#custom-project-roles). Custom project roles are scoped to projects. This guide takes you through [how to create](#creating-custom-project-roles "how to create custom project roles") and [assign](#assigning-custom-project-roles "how to assign custom project roles") [custom project roles](../user_guide/rbac.md#custom-project-roles).
## Creating custom project roles ## Creating custom project roles
To create custom project roles follow the steps below: To create custom project roles:
1. Navigate to the custom project roles page (at `/admin/roles`) by clicking ... [fill in steps!]
2. Use the "new project role" button to open the role creation form 1. Navigate to the custom project roles page by using the admin menu (the gear symbol) and navigating to roles.
2. Use the "new project role" button to open the role creation form.
3. Give the role a name, an optional description, and the set of permissions you'd like it to have. For a full overview of all the options, consult the [custom project roles reference documentation](../user_guide/rbac.md#custom-project-roles). 3. Give the role a name, an optional description, and the set of permissions you'd like it to have. For a full overview of all the options, consult the [custom project roles reference documentation](../user_guide/rbac.md#custom-project-roles).
## Assigning custom project roles ## Assigning custom project roles
To assign a custom project role to a user, follow these steps in the project you want the role to be applied in. To assign a custom project role to a user:
1. Navigate to the project's access page 1. Navigate to the project you want to assign the user a role in.
2. This step depends on whether the user has already been added to the project or not: 2. Navigate to the project's _access_ page.
- If the user you want to give the role isn't already in the list of users, add them via the 'add user' form. Select the role you want to give them from the role field. 3. This step depends on whether the user has already been added to the project or not:
- If the user has already been added to the project, select the desired role from the dropdown. - If the user has already been added to the project, select the new role you want to give them from the dropdown menu next to their name.
- If the user _hasn't_ been added to the project, add them via the 'add user' form. Select the role you want to give them from the role field.