Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd18aee

Browse files
author
Gauvain Pocentek
committed
[v4] Rename the ACCESS* variables
1 parent9a66d78 commitcd18aee

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
classSidekiqManager(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
deftransfer_project(self,id,**kwargs):
22082208
"""Transfers a project to this new groups.
22092209

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp