mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: How to create and assign custom project roles
 | |
| ---
 | |
| import VideoContent from '@site/src/components/VideoContent.jsx'
 | |
| 
 | |
| :::info availability
 | |
| 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 allow you to fine-tune access rights and permissions within your projects.
 | |
| 
 | |
| <VideoContent videoUrls={["https://www.youtube.com/embed/2BlckVMHxgE" , "https://www.youtube.com/embed/IqaD8iGxkwk"]}>
 | |
| 
 | |
| The guides on this page are also available in video format! Does a minute or two of watching someone walk through the steps sound better to you than following steps with static screenshots? If so, check out these video walkthroughs instead 🍿
 | |
| 
 | |
| </VideoContent>
 | |
| 
 | |
| ## Creating custom project roles
 | |
| 
 | |
| It takes about three steps to create custom project roles:
 | |
| 
 | |
| 1. Navigate to the custom project roles page by using the admin menu (the gear symbol) and navigating to users.
 | |
|     
 | |
| 2. Navigate to the "project roles" tab.
 | |
|     
 | |
| 3. Use the "new project role" button to open the role creation form.
 | |
|     
 | |
| 4. 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
 | |
| 
 | |
| Custom project role creation is a pretty straightforward process and requires around three steps, outlined below.
 | |
| 
 | |
| To assign a custom project role to a user:
 | |
| 1. Navigate to the project you want to assign the user a role in.
 | |
|     
 | |
| 2. Navigate to the project's _access_ page.
 | |
|     
 | |
| 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 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.
 | |
|         
 |