Creating Role
In a Role-Based Access Control (RBAC) system, a "role" represents a set of permissions that define the access level or capabilities of a user within the system. Instead of assigning permissions directly to individual users, roles are created to represent job functions, responsibilities, or titles within an organization. Users are then assigned to these roles, thereby inheriting the permissions associated with them.
By default, Devportal comes with a role called devportal-admin
for your admin group
, which has all the permissions.
If you want to use our suggested devportal-user
role, you can run this SQL script in your database.
This approach simplifies the management of user permissions, making it easier to ensure that users have appropriate access to resources based on their role within the organization. It also enhances security by minimizing the risk of unauthorized access, as permissions can be centrally managed and reviewed.
- To access RBAC Administration, click on the
Administration
menu. - Click em create, fill Name and Description to identify the role, and click on
next
. - Select Groups or users that you want to assign the role and click on
next
. - Select the permissions that you want to assign to the role and click on
next
. - (Optional) You can use conditions to restrict the role to specific resources.
- Review the role and click on
create
.