summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2013-12-26 13:51:39 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2013-12-26 13:51:39 +0100
commit1cc7b176d80e58c1fb5eda2b79a27674b65c0a65 (patch)
tree1fb737ffc4585ac58f90bd47c7f804fba8502626 /gitlab.py
parent7afd2329e3ff3f8cbe13504627a4d24b123acea5 (diff)
downloadgitlab-1cc7b176d80e58c1fb5eda2b79a27674b65c0a65.tar.gz
define new optional attributes for user creation
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab.py b/gitlab.py
index 87728e0..7d2df8f 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -559,7 +559,8 @@ class User(GitlabObject):
shortPrintAttr = 'username'
requiredCreateAttrs = ['email', 'password', 'username', 'name']
optionalCreateAttrs = ['skype', 'linkedin', 'twitter', 'projects_limit',
- 'extern_uid', 'provider', 'bio']
+ 'extern_uid', 'provider', 'bio', 'admin',
+ 'can_create_group']
def Key(self, id=None, **kwargs):
return self._getListOrObject(UserKey, id,