Skip to main content

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.

note

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. Optional Image Description
  • Click em create, fill Name and Description to identify the role, and click on next. Optional Image Description
  • Select Groups or users that you want to assign the role and click on next. Optional Image Description
  • Select the permissions that you want to assign to the role and click on next. Optional Image Description
  • (Optional) You can use conditions to restrict the role to specific resources. Optional Image Description
  • Review the role and click on create. Optional Image Description