diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-31 21:09:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-31 21:09:56 +0300 |
commit | 9fcbd94aaa2c28096d84701e9474b589c1a1ddee (patch) | |
tree | 83a3806c67f8ff16d2a74d8963821a3c838c0a52 /doc/api/protected_branches.md | |
parent | eabd80f72f4f7d8e19b26526aa1f44c43d78e8b3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/protected_branches.md')
-rw-r--r-- | doc/api/protected_branches.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/protected_branches.md b/doc/api/protected_branches.md index e5560360532..044e6bf5394 100644 --- a/doc/api/protected_branches.md +++ b/doc/api/protected_branches.md @@ -183,9 +183,9 @@ curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitla | --------- | ---- | -------- | ----------- | | `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user | | `name` | string | yes | The name of the branch or wildcard | -| `push_access_level` | string | no | Access levels allowed to push (defaults: `40`, maintainer access level) | -| `merge_access_level` | string | no | Access levels allowed to merge (defaults: `40`, maintainer access level) | -| `unprotect_access_level` | string | no | Access levels allowed to unprotect (defaults: `40`, maintainer access level) | +| `push_access_level` | string | no | Access levels allowed to push (defaults: `40`, Maintainer role) | +| `merge_access_level` | string | no | Access levels allowed to merge (defaults: `40`, Maintainer role) | +| `unprotect_access_level` | string | no | Access levels allowed to unprotect (defaults: `40`, Maintainer role) | | `allow_force_push` | boolean | no | Allow force push for all users with push access. (defaults: false) | | `allowed_to_push` | array | no | **(PREMIUM)** Array of access levels allowed to push, with each described by a hash | | `allowed_to_merge` | array | no | **(PREMIUM)** Array of access levels allowed to merge, with each described by a hash | |