Skip to content

Commit 7afd232

Browse files
author
Gauvain Pocentek
committed
provide constants for access permissions in groups
1 parent 962e806 commit 7afd232

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gitlab.py

+6
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
def Member(self, id=None, **kwargs):
608614
return self._getListOrObject(GroupMember, id,
609615
group_id=self.id,

0 commit comments

Comments
 (0)