Managing access to your team's repositories
Repository permission levels for a team
You can customize access to each repository in your team with granular permission levels, giving people access to the features and tasks they need.
People with admin permissions can manage access level of an individual to a team owned repository.
Each permission level increases access to a repository's content and settings. Choose the level that is the most appropriate for a person's role in your project without giving people more access than they need.
In the order of least to most access, the permission levels for a repository are:
- Read-only: Recommended for non-code contributors who only want to view the dashboard, without modifying anything.
- Write: Recommended for people who actively push code to the project, who need the ability to modify settings.
- Admin: Recommended for people who need full access, including the ability to add or remove people to the repository.
Organization administrators can set base permissions that apply to all members of a team when accessing any of the team's repositories. For more information, see Setting base permissions for a team.
For more information about giving people and teams access to repositories, see Managing access to your organization's repositories.
Action | Admin | Write | Read-only |
---|---|---|---|
View issues | βοΈ | βοΈ | βοΈ |
View past runs | βοΈ | βοΈ | βοΈ |
View metrics | βοΈ | βοΈ | βοΈ |
View overview widgets | βοΈ | βοΈ | βοΈ |
Customize overview widgets | βοΈ | βοΈ | |
Install Autofix App | βοΈ | βοΈ | |
Create Autofixes | βοΈ | βοΈ | |
Can view DSN | βοΈ | βοΈ | |
Generate SSH key-pair | βοΈ | βοΈ | |
Change default analysis branch | βοΈ | βοΈ | |
Change issue types to report | βοΈ | βοΈ | |
Change issues to type to block PRs on | βοΈ | βοΈ | |
Deactivate analysis on repository | βοΈ | βοΈ | |
Add/remove members | βοΈ | ||
Update role of existing members | βοΈ | ||
Ignore issues | βοΈ | ^ | ^ |
Modify metric thresholds | βοΈ | ^^ | ^^ |
Suppress failed metrics | βοΈ | ^^^ | ^^^ |
^ If Allow contributors or members to ignore issues is checked.
^^ If Allow contributors or members to modify metric thresholds is checked.
^^^ If Allow contributors or members to suppress failed metrics is checked.
Set base (default) permissions for your team
Team Administrators can set base permissions for the team owned repositories.
About base permissions
Base permissions apply to all members of a team when accessing any of the team's repositories. Base permissions do not apply to contributors, or administrators.
If someone with admin permissions to a team's repository, grants a member a higher level of permission for the repository, the higher level of permission overrides the base permission.
For a newly added team, the default repository permission on DeepSource is set to the same value that you've configured on GitHub. For other VCS, by default, team members will have Write permissions to all team repositories.
For open source repositories, all members (and contributors) have write permissions in spite of the selection of base permissions.
Setting base permissions
- Go to the Dashboard
- Select the team from the account switcher on the top-left.
- Click on the Settings tab on the left sidebar.
- On the Settings page, select Access Control next to the billing.
- In the Member Base Permissions section, select the new Base Permission.
Manage an individual's access to a team repository
People with admin permissions can manage the access of team members and contributors to a team repository.
Adding a collaborator
You can add members who are already in your team to the repository, either as a member or a contributor. To add new members, please invite them to your team first.
Contributors can only be added as collaborators for open source repositories. For private repositories, contributors first need to be promoted to members.
To add a collaborator:
- Go to the repository dashboard.
- Go to the Settings tab.
- Click on the Collaborators tab under Settings.
- Click Add collaborator.
- Type their name, or email address in the search box. Once you find the individual, click on their name.
If you cannot find someone, make sure that they are added to the team.
- Select the required permission level, and click Confirm and add.
Change permission for a member
- Go to the Repository dashboard.
- Go to the Settings tab.
- Click on the Collaborators tab under Settings.
- Find the individual from the list or use the search bar to find the user. Click on the drop-down menu on the right-side with the user's permission level.
- Choose the new permission level, and click Confirm and grant permissions.
Updated 12 months ago