Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-11-24 15:41:36 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-11-24 16:20:56 +0300
commitd6dd9d712ac24a095d0b0506731f9415b7c3b5f5 (patch)
treedd8cb75a449d3632902d94933ab36210f5d6abf8 /doc/api/protected_branches.md
parente548c613346a09ba2fc8dfd6ed64da6628ec6a45 (diff)
Fix ProtectedBranch access level validations
Before an access_level was required in EE even when an it had been set for a user/group.
Diffstat (limited to 'doc/api/protected_branches.md')
-rw-r--r--doc/api/protected_branches.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/protected_branches.md b/doc/api/protected_branches.md
index 10faa95d7e8..81fe854060a 100644
--- a/doc/api/protected_branches.md
+++ b/doc/api/protected_branches.md
@@ -4,7 +4,7 @@
**Valid access levels**
-The access levels are defined in the `ProtectedBranchAccess::ALLOWED_ACCESS_LEVELS` constant. Currently, these levels are recognized:
+The access levels are defined in the `ProtectedRefAccess::ALLOWED_ACCESS_LEVELS` constant. Currently, these levels are recognized:
```
0 => No access
30 => Developer access