Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-11 03:09:09 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-11 03:09:09 +0300
commit47ebeef9122af96dc1fcd5c8e1ca0091f62fa113 (patch)
treef140bf150d6670b734e981851070e73c270fc45f /app/models/users_statistics.rb
parent06bb4eba7828ce59fde366734828458c037059b4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/users_statistics.rb')
-rw-r--r--app/models/users_statistics.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/models/users_statistics.rb b/app/models/users_statistics.rb
new file mode 100644
index 00000000000..5c5f62d5d87
--- /dev/null
+++ b/app/models/users_statistics.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+class UsersStatistics < ApplicationRecord
+ STATISTICS_NAMES = [
+ :without_groups_and_projects,
+ :with_highest_role_guest,
+ :with_highest_role_reporter,
+ :with_highest_role_developer,
+ :with_highest_role_maintainer,
+ :with_highest_role_owner,
+ :bots,
+ :blocked
+ ].freeze
+end