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

Commit7afd232

Browse files
author
Gauvain Pocentek
committed
provide constants for access permissions in groups
1 parent962e806 commit7afd232

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎gitlab.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,12 @@ class Group(GitlabObject):
604604
requiredCreateAttrs= ['name','path']
605605
shortPrintAttr='name'
606606

607+
GUEST_ACCESS=10
608+
REPORTER_ACCESS=20
609+
DEVELOPER_ACCESS=30
610+
MASTER_ACCESS=40
611+
OWNER_ACCESS=50
612+
607613
defMember(self,id=None,**kwargs):
608614
returnself._getListOrObject(GroupMember,id,
609615
group_id=self.id,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp