What are permission sets in Buddy?
Permissions define what users can and cannot do in the project. There are two default permission roles in Buddy:
- Developer - user can view, add, edit and remove all elements in the project
- Read-only - users can view and comment on all elements in the project, but cannot add new or edit and remove existing ones
Permissions are assigned per-project, meaning a user can have different permissions across several projects. Admins and the workspace owner always have full access to all parts of the service. Users automatically added to new projects are assigned Developer permissions by default.
How to create custom permission sets?
Custom permissions allow for more scrupulous control over your workspace. For example, you can hide release scenarios and leave read-only access for your repository if you want to show your code to the client.
- Go to Dashboard → Workspace Preferences at top navi-bar
- Select Permissions and click Create a new permission, top-right
- Provide name, description (optional) and define scopes of access
- Click Save changes to confirm and add the new permissions to the list
Scopes of access in custom permissions
Source permissions define how much control a user will get in the repository:
- Read-only – user can browse the repository and comment on commits
- Read & write – user can view, add, edit and remove all elements in the repository and comment on commits
If you want to restrict write permissions to a specific branch you can use push permissions.
Release permissions define how much control a user can get over release scenarios (deployments):
- Denied - user has no access to the Releases tab
- View-only - user can view and comment on release scenarios
- Run-only – user can run release scenarios but cannot add, edit or remove them
- Manage – user has full R/W control over releases
You can also hide a scenario from specific users and groups using Visibility settings at the scenario view.