Skip to content

Commit 99923d4

Browse files
authored
feat(users): implement missing arguments in users 'list'
* feat(users): sort 'user list' arguments against documentation * feat(users): implement support for 'humans' in users 'list' * feat(users): implement support for 'public_email' in users 'list' * feat(users): implement 'created_*/exclude_*/without_*' in users 'list' * feat(users): implement 'without_projects/skip_ldap/auditors' in administrators 'list' Signed-off-by: Adrian DC <radian.dc@gmail.com>
1 parent 9d4ee07 commit 99923d4

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

gitlab/v4/objects/users.py

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -400,17 +400,29 @@ class UserManager(CRUDMixin[User]):
400400
_obj_cls = User
401401

402402
_list_filters = (
403+
"username",
404+
"public_email",
405+
"search",
403406
"active",
407+
"external",
404408
"blocked",
405-
"username",
409+
"humans",
410+
"created_after",
411+
"created_before",
412+
"exclude_active",
413+
"exclude_external",
414+
"exclude_humans",
415+
"exclude_internal",
416+
"without_project_bots",
406417
"extern_uid",
407418
"provider",
408-
"external",
409-
"search",
410-
"custom_attributes",
411-
"status",
412419
"two_factor",
420+
"without_projects",
413421
"admins",
422+
"auditors",
423+
"skip_ldap",
424+
"custom_attributes",
425+
"status",
414426
)
415427
_create_attrs = RequiredOptional(
416428
optional=(

0 commit comments

Comments
 (0)