Administrators with a CloudBees CI cluster supporting multiple teams of users can delegate some management powers to team leads and limit the permissions that unauthenticated and other users have to make changes and view items in the cluster. Delegating the assignment of such permissions to project administrators allows teams to define more granular permissions for specific projects and objects within their master, enabling them to do things like hiding a "secret" project from other teams.
These fine-grained permissions are enabled through the Role-Based Access Control (RBAC) Authorization Strategy defined by an administrator in the operations center Global Security Configuration.
Administrators will need to define various security roles for use in their cluster and assign those roles to groups of users, including groups and users imported from an authentication server like LDAP.
To illustrate this use case, consider the following scenario where an administrator has two configured Client Masters with some Folders configured for projects:
developers-team-A-folder (Working folder for developers-team-A-group)
another-folder (accessible by everyone)
The administrator in this scenario will support four different teams with their CloudBees CI cluster. Each team will only need access and permissions over a very limited set of items within the context of the CloudBees CI cluster, specifically:
Developers team A - Within CloudBees CI, this group will be called internal-developers-team-A-group. They should only have read access to the operations center instance and only be able to access to Master-1. In Master-1, these users should only see the folder developers-team-A-folder.
Developers team B - Within CloudBees CI, this group will be called internal-developers-team-B-group. They should only have read access to the operations center instance and should only be able to access to Master-2.
Tester team - Within CloudBees CI, this group will be called internal-tester-team-group. They should only have read access to the operations center instance and should be able to access to Master-1 and Master-2.
Admin team - Within CloudBees CI, this group will be called internal-admin-team-group. They should be able to administer the operations center and Client Masters systems.
There are at least two levels of permissions for an administrator to consider when configuring permissions - permissions over the cluster itself (operations center-level) and permissions over particular masters, the administrator will first need to log into operations center and creates roles and groups.
Roles are sets of configured permissions that can be assigned to groups, and they are configured from the "Roles" > "Manage Roles" configuration page.
Out of the box, operations center offers two options - anonymous and authenticated. For this scenario, administrators will want to create 3 new roles in operations center with the following permissions: