BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Repository permissions
Lesson215 words

Repository permissions

Configure permissions in the source control repository

Where permissions apply

Azure Repos permissions can be set at organisation, project, repository and branch level, inheriting downward. Branch-level control is what allows main to be treated differently from every other branch in the same repository.

The precedence rule, again

Deny beats Allow, and Not set means inherit. A user in two groups, one allowing and one denying, is denied — and adding them to a further allowing group later will not change that.

This is the same model as project permissions, and the same trap: an explicit Deny is a decision that outlives the reason for it.

Permissions and policies do different jobs

ControlGoverns
PermissionsWho may perform an operation — push, force push, delete, manage
Branch policiesWhat must be true before a change can land

Both are needed. Contribute permission on a branch with no policy is an unreviewed path to production; a policy without permission control leaves force push and branch deletion available to anyone who can push.

Notable permissions

Force push and Manage permissions deserve deliberate assignment. Force push rewrites history under everyone's clones; Manage permissions lets its holder grant themselves anything else.

Primary sources

  • https://learn.microsoft.com/en-us/azure/devops/repos/git/set-git-repository-permissions
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.