diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2013-12-26 13:51:39 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2013-12-26 13:51:39 +0100 |
commit | 1cc7b176d80e58c1fb5eda2b79a27674b65c0a65 (patch) | |
tree | 1fb737ffc4585ac58f90bd47c7f804fba8502626 /gitlab.py | |
parent | 7afd2329e3ff3f8cbe13504627a4d24b123acea5 (diff) | |
download | gitlab-1cc7b176d80e58c1fb5eda2b79a27674b65c0a65.tar.gz |
define new optional attributes for user creation
Diffstat (limited to 'gitlab.py')
-rw-r--r-- | gitlab.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, |