Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Roman Lacko
gitlab_api
Commits
853b6232
Commit
853b6232
authored
Dec 11, 2018
by
Roman Lacko
Browse files
Update visibility values
parent
17f5ef6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
GitLab.pm
View file @
853b6232
...
...
@@ -37,9 +37,9 @@ Exporter::export_ok_tags(qw|group_visibility member_access project_visibility ut
use
constant
{
# Group Visibility
GROUP_PRIVATE
=>
00
,
GROUP_INTERNAL
=>
10
,
GROUP_PUBLIC
=>
20
,
GROUP_PRIVATE
=>
"
private
"
,
GROUP_INTERNAL
=>
"
internal
"
,
GROUP_PUBLIC
=>
"
public
"
,
# Member rights
MEMBER_GUEST
=>
10
,
...
...
@@ -48,11 +48,7 @@ use constant {
MEMBER_MASTER
=>
40
,
MEMBER_OWNER
=>
50
,
# Project visibility (old values)
_PROJECT_PRIVATE
=>
0
,
_PROJECT_INTERNAL
=>
10
,
_PROJECT_PUBLIC
=>
20
,
# Project Visibility
PROJECT_PRIVATE
=>
"
private
",
PROJECT_INTERNAL
=>
"
internal
",
PROJECT_PUBLIC
=>
"
public
",
...
...
GitLab/Groups.pm
View file @
853b6232
...
...
@@ -75,6 +75,7 @@ my $requests = {
lfs_enabled
request_access_enabled
parent_id
shared_runners_minutes_limit
)
],
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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