diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-29 06:08:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-11-29 06:08:16 +0300 |
commit | f51c6a69f9804d1dde7a0f1717a91ca97001f871 (patch) | |
tree | c54249c948799604d3fbef42c49bc69cc57c2eb9 /app/models/concerns | |
parent | 859ee9fc169e0a899af3a683ea452d06334d15b9 (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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/concerns/has_user_type.rb b/app/models/concerns/has_user_type.rb index ccb5bebcc39..b5352db5a56 100644 --- a/app/models/concerns/has_user_type.rb +++ b/app/models/concerns/has_user_type.rb @@ -14,10 +14,11 @@ module HasUserType migration_bot: 7, security_bot: 8, automation_bot: 9, - security_policy_bot: 10 + security_policy_bot: 10, + 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 security_policy_bot].freeze + BOT_USER_TYPES = %w[alert_bot project_bot support_bot visual_review_bot migration_bot security_bot automation_bot security_policy_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 |