API call users.list(exclude_external=True)
filters out wrong users
#3113
johannes-michael
started this conversation in
General
Replies: 2 comments 2 replies
-
Maybe this is an issue with GitLab? Is there a reason you believe the issue is with python-gitlab? |
Beta Was this translation helpful? Give feedback.
2 replies
-
FYI: GitLab issue created by @johannes-michael https://gitlab.com/gitlab-org/gitlab/-/issues/516083 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I recently updated to 17.8 and the behavior of filtering internal/external users does not work properly.
We are on self-managed GitLab free EE. Newly registered users are automatically flagged as external, except when their email matches a specific regex (admin settings > account and limit).
Prior to the update, new users got the attribute
external=true
and people matching the regex gotexternal=false
. Now after the update, people matching the regex getexternal=null
. I'm not sure when that behavior changed.The problem now is, that an API call like
gl.users.list(exclude_external=True)
for some reason filters out accounts both withexternal=true
andexternal=null
, basically rendering it useless. Older accounts where the flag is stillexternal=false
work as expected.Any ideas what's going on?
Beta Was this translation helpful? Give feedback.
All reactions