diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-11 03:06:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-11 03:06:24 +0300 |
commit | 133924c6cc443f5f69e1ab08d43b363d77677cb0 (patch) | |
tree | e893a7d36105fc4acec7038feae5f03bd34cfc2c /app/policies/global_policy.rb | |
parent | f607152a0802a68067343ad73f989033cb8e9a06 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/global_policy.rb')
-rw-r--r-- | app/policies/global_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/global_policy.rb b/app/policies/global_policy.rb index 4d66a9e7d67..eca73f0a241 100644 --- a/app/policies/global_policy.rb +++ b/app/policies/global_policy.rb @@ -48,6 +48,7 @@ class GlobalPolicy < BasePolicy prevent :access_git prevent :access_api prevent :receive_notifications + prevent :use_slash_commands end rule { required_terms_not_accepted }.policy do |