Skip to content

Ignore internal users on user counts

James Lopez requested to merge fix/user-count into master

What does this MR do?

Adds User.real that finds active non-internal users.

Are there points in the code the reviewer needs to double check?

The easier alternative would be to change active to ignore non-internal users. I wasn't sure which way to go, but it would be confusing if .active does filter by more unexpected things (and we may want to know if a "bot" has been active somehow).

Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/2096

Merge request reports

Loading