diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-07 09:08:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-07 09:08:16 +0300 |
commit | a95f7ad8b8331e972ce2e82247679fec7a918565 (patch) | |
tree | a76204749ad8b1822304ba89b8f3b2f6b05c13db /app/models/concerns | |
parent | 66664611361dcfcbaf99cd7c6906b99bcb16becd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/concerns')
-rw-r--r-- | app/models/concerns/has_user_type.rb | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/app/models/concerns/has_user_type.rb b/app/models/concerns/has_user_type.rb index 158d7d1c9bb..8e371f2a9c1 100644 --- a/app/models/concerns/has_user_type.rb +++ b/app/models/concerns/has_user_type.rb @@ -14,22 +14,10 @@ module HasUserType migration_bot: 7, security_bot: 8, automation_bot: 9, - admin_bot: 11, - suggested_reviewers_bot: 12 + admin_bot: 11 }.with_indifferent_access.freeze - BOT_USER_TYPES = %w[ - alert_bot - project_bot - support_bot - visual_review_bot - migration_bot - security_bot - automation_bot - admin_bot - suggested_reviewers_bot - ].freeze - + BOT_USER_TYPES = %w[alert_bot project_bot support_bot visual_review_bot migration_bot security_bot automation_bot admin_bot].freeze NON_INTERNAL_USER_TYPES = %w[human project_bot service_user].freeze INTERNAL_USER_TYPES = (USER_TYPES.keys - NON_INTERNAL_USER_TYPES).freeze |