NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
## **1. Function Introduction** >[danger]**This module allows you to create roles, set different permissions for different roles, and assign corresponding roles for differrnt users.** ![](https://img.kancloud.cn/5f/14/5f14867855d6f4bc323ceb95b4bfb8bd_714x314.png) ## **2.Operate Process** #### **1)Authorization Setting** Note: the systenm assigns the system adminstrater role by default, which is the highest permission role and cannot be modified, deleted, disabled or assigned to other employees. **Add Roles:** Click "+" beside the role list, and input a role name on the "Add Roles" page, click the button "Confirm" to add a role. ![](https://img.kancloud.cn/34/e1/34e1881aa1606bb330f56334f574fa35_491x232.png) **Set a role permission:** Select the role you want to set in the role list on the left, check the permission on the right, and click the button "Confirm" to set the permission for the role. ![](https://img.kancloud.cn/72/5d/725d9c7d03572c977cc465ac8dfb9714_714x307.png) **Modify Roles:** Select the role to be modified, click the button and modify the role on the "Modify Roles" page. ![](https://img.kancloud.cn/fc/97/fc9773d2315bc46add6ef1d0cea0b2e0_304x411.png) # ![](https://img.kancloud.cn/64/96/64969c820ba88021c9ea3d7cd18f1947_476x220.png) **Delete Roles:** Select the role to be deleted, and click the button to delete the role. Note: if the role has already been assigned to an employee, it cannot be deleted. ![](https://img.kancloud.cn/89/59/8959c935c8c49955468ac546b5b25dfb_300x404.png) **Disable Roles:** Click the button to disable the role. If the role has already been assigned to an employee, it cannot be disabled. ![](https://img.kancloud.cn/ac/c9/acc93db6adb5088afdcbd6d06c6cfadd_303x392.png) #### **2)Role Assignment** **Assign Users to the Role:** Select the role to be assigned in the role list on the left, click the button "Add", and select "Employee" on the "Add Users" page, click "Confirm" to assign employees to the role. ![](https://img.kancloud.cn/3b/45/3b454f39473703affc453478b5ad771c_714x266.png) # ![](https://img.kancloud.cn/8d/da/8dda799882d1d81aa0051f264c2b4bb3_485x289.png) **Remove an employee from the roles:** Click the button in the table operation list, and remove the employee from the current role. ![](https://img.kancloud.cn/45/57/45571198c07629e5e7bac926a8b8f130_714x268.png)