GitRepositoryPermissions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the permission bitmasks used in the database for git repositories. If modifying, see NOTE at the bottom.
This enumeration supports a bitwise combination of its member values.
[Microsoft.VisualStudio.Services.Common.GenerateAllConstants(null)]
[System.Flags]
public enum GitRepositoryPermissions
type GitRepositoryPermissions =
Public Enum GitRepositoryPermissions
- Inheritance
-
GitRepositoryPermissions
- Attributes
-
Microsoft.VisualStudio.Services.Common.GenerateAllConstantsAttribute FlagsAttribute
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | |
| Administer | 1 | |
| GenericRead | 2 | |
| GenericContribute | 4 | |
| ForcePush | 8 | |
| CreateBranch | 16 | |
| CreateTag | 32 | |
| ManageNote | 64 | |
| PolicyExempt | 128 | |
| CreateRepository | 256 | |
| DeleteRepository | 512 | |
| RenameRepository | 1024 | |
| EditPolicies | 2048 | |
| RemoveOthersLocks | 4096 | |
| ManagePermissions | 8192 | |
| NonBranchRefLevelPermissions | 8200 | |
| PullRequestContribute | 16384 | |
| PullRequestBypassPolicy | 32768 | |
| BranchLevelPermissions | 47244 | |
| BranchesRootLevelPermissions | 47260 | |
| RepositoryLevelPermissions | 65278 | |
| ProjectLevelPermissions | 65534 |