Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7e53a80e
Commit
7e53a80e
authored
May 24, 2018
by
Mark Chao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wording
parent
a6544666
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/api/protected_branches.rb
lib/api/protected_branches.rb
+3
-3
No files found.
lib/api/protected_branches.rb
View file @
7e53a80e
...
...
@@ -41,13 +41,13 @@ module API
requires
:name
,
type:
String
,
desc:
'The name of the protected branch'
optional
:push_access_level
,
type:
Integer
,
values:
ProtectedRefAccess
::
ALLOWED_ACCESS_LEVELS
,
desc:
'Access levels allowed to push (defaults: `40`, ma
st
er access level)'
desc:
'Access levels allowed to push (defaults: `40`, ma
intain
er access level)'
optional
:merge_access_level
,
type:
Integer
,
values:
ProtectedRefAccess
::
ALLOWED_ACCESS_LEVELS
,
desc:
'Access levels allowed to merge (defaults: `40`, ma
st
er access level)'
desc:
'Access levels allowed to merge (defaults: `40`, ma
intain
er access level)'
optional
:unprotect_access_level
,
type:
Integer
,
values:
ProtectedRefAccess
::
ALLOWED_ACCESS_LEVELS
,
desc:
'Access levels allowed to unprotect (defaults: `40`, ma
st
er access level)'
desc:
'Access levels allowed to unprotect (defaults: `40`, ma
intain
er access level)'
optional
:allowed_to_push
,
type:
Array
,
desc:
'An array of users/groups allowed to push'
do
optional
:access_level
,
type:
Integer
,
values:
ProtectedRefAccess
::
ALLOWED_ACCESS_LEVELS
optional
:user_id
,
type:
Integer
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment