Azure DevOps Services | Azure DevOps Server 2022 - Azure DevOps Server 2019
Set up permissions to control who can read and update the code in a branch on your Git repo.
You can set permissions for individual users and groups, and inherit and override permissions as needed from your repo permissions.
- View code in private projects: At least Basic access. - Clone or contribute to code in private projects: Member of the Contributors security group or corresponding permissions in the project. - Set branch or repository permissions: Manage permissions permissions for the branch or repository. - Change default branch: Edit policies permissions for the repository. - Import a repository: Member of the Project Administrators security group or Git project-level Create repository permission set to Allow. For more information, see Set Git repository permissions.
- View code: At least Basic access. - Clone or contribute to code: Member of the Contributors security group or corresponding permissions in the project.
1.To add users or groups to your branch permissions, selectAdd.
2.Enter the sign-in address or group alias, then select Save.
Remove users or groups
To remove permissions for a user or group, select the user or group, and then select Remove. This change doesn't affect other permissions for the user or group in your project.
Branch creators automatically receive the following permissions:
Contribute
Force push
Manage permissions (when allowed through the repository setting Permissions management)
Remove others' locks
Piezīme
The Exempt from policy enforcement permission is replaced by the following two permissions:
Bypass policies when completing pull requests
Bypass policies when pushing
Users who previously had Exempt from policy enforcement enabled have these permissions enabled instead. The following table shows more details on these permissions.
::: moniker-end
Permission
Description
Bypass policies when completing pull requests
Users with this permission are exempt from the branch policy set for the branch when completing pull requests and can opt in to override the policies by checking Override branch policies and enable merge when completing a PR.
Bypass policies when pushing
Users with this permission can push to a branch that has branch policies enabled. When a user with this permission makes a push that would override branch policy, the push automatically bypasses branch policy with no opt-in step or warning.
Contribute
Can push new commits to the branch and lock the branch. Can't rewrite existing commits on the branch.
Pievienojieties meetup sērijai, lai kopā ar citiem izstrādātājiem un ekspertiem izveidotu mērogojamus AI risinājumus, kuru pamatā ir reālas lietošanas gadījumi.
Demonstrate the skills needed to implement security controls, maintain an organization’s security posture, and identify and remediate security vulnerabilities.