Skip to content

Commit cd18aee

Browse files
author
Gauvain Pocentek
committed
[v4] Rename the ACCESS* variables
1 parent 9a66d78 commit cd18aee

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

gitlab/v4/objects.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@
3434
VISIBILITY_INTERNAL = 'internal'
3535
VISIBILITY_PUBLIC = 'public'
3636

37+
ACCESS_GUEST = 10
38+
ACCESS_REPORTER = 20
39+
ACCESS_DEVELOPER = 30
40+
ACCESS_MASTER = 40
41+
ACCESS_OWNER = 50
42+
3743

3844
class SidekiqManager(object):
3945
"""Manager for the Sidekiq methods.
@@ -2198,12 +2204,6 @@ class Group(GitlabObject):
21982204
('issues', 'GroupIssueManager', [('group_id', 'id')]),
21992205
)
22002206

2201-
GUEST_ACCESS = gitlab.GUEST_ACCESS
2202-
REPORTER_ACCESS = gitlab.REPORTER_ACCESS
2203-
DEVELOPER_ACCESS = gitlab.DEVELOPER_ACCESS
2204-
MASTER_ACCESS = gitlab.MASTER_ACCESS
2205-
OWNER_ACCESS = gitlab.OWNER_ACCESS
2206-
22072207
def transfer_project(self, id, **kwargs):
22082208
"""Transfers a project to this new groups.
22092209

0 commit comments

Comments
 (0)