Skip to content

Commit

Permalink
add "external" parameter for users
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Mar 22, 2016
1 parent 571a382 commit 349f66e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gitlab/objects.py
Expand Up @@ -505,12 +505,13 @@ class User(GitlabObject):
requiredCreateAttrs = ['email', 'username', 'name', 'password']
optionalCreateAttrs = ['skype', 'linkedin', 'twitter', 'projects_limit',
'extern_uid', 'provider', 'bio', 'admin',
'can_create_group', 'website_url', 'confirm']
'can_create_group', 'website_url', 'confirm',
'external']
requiredUpdateAttrs = ['email', 'username', 'name']
optionalUpdateAttrs = ['password', 'skype', 'linkedin', 'twitter',
'projects_limit', 'extern_uid', 'provider', 'bio',
'admin', 'can_create_group', 'website_url',
'confirm']
'confirm', 'external']
managers = [('keys', UserKeyManager, [('user_id', 'id')])]

def _data_for_gitlab(self, extra_parameters={}, update=False):
Expand Down

0 comments on commit 349f66e

Please sign in to comment.