summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2013-12-26 13:50:34 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2013-12-26 13:50:34 +0100
commit7afd2329e3ff3f8cbe13504627a4d24b123acea5 (patch)
tree738aa17e74d56c8988eb838d61fe4c8e884a6a52 /gitlab.py
parent962e806412293cfd44e3c37240b5fc1817e5b9db (diff)
downloadgitlab-7afd2329e3ff3f8cbe13504627a4d24b123acea5.tar.gz
provide constants for access permissions in groups
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/gitlab.py b/gitlab.py
index e3af9fc..87728e0 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -604,6 +604,12 @@ class Group(GitlabObject):
requiredCreateAttrs = ['name', 'path']
shortPrintAttr = 'name'
+ GUEST_ACCESS = 10
+ REPORTER_ACCESS = 20
+ DEVELOPER_ACCESS = 30
+ MASTER_ACCESS = 40
+ OWNER_ACCESS = 50
+
def Member(self, id=None, **kwargs):
return self._getListOrObject(GroupMember, id,
group_id=self.id,