Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1cc7b17

Browse files
author
Gauvain Pocentek
committed
define new optional attributes for user creation
1 parent7afd232 commit1cc7b17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎gitlab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,8 @@ class User(GitlabObject):
559559
shortPrintAttr='username'
560560
requiredCreateAttrs= ['email','password','username','name']
561561
optionalCreateAttrs= ['skype','linkedin','twitter','projects_limit',
562-
'extern_uid','provider','bio']
562+
'extern_uid','provider','bio','admin',
563+
'can_create_group']
563564

564565
defKey(self,id=None,**kwargs):
565566
returnself._getListOrObject(UserKey,id,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp