summaryrefslogtreecommitdiff
path: root/app/policies/global_policy.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-18 18:10:03 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-18 18:10:03 +0000
commitdbe46935eb1044bd1360776ca684cebcab334003 (patch)
tree748fdc1b78a5205c5778e5f62232f7c526e616fc /app/policies/global_policy.rb
parentdd8b80356b44d5d433be39d4592a7c5179fbb583 (diff)
downloadgitlab-ce-dbe46935eb1044bd1360776ca684cebcab334003.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/global_policy.rb')
-rw-r--r--app/policies/global_policy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/global_policy.rb b/app/policies/global_policy.rb
index b5c1ec0181e..9c79a797a6a 100644
--- a/app/policies/global_policy.rb
+++ b/app/policies/global_policy.rb
@@ -100,6 +100,7 @@ class GlobalPolicy < BasePolicy
enable :update_custom_attribute
enable :approve_user
enable :reject_user
+ enable :read_instance_statistics_measurements
end
# We can't use `read_statistics` because the user may have different permissions for different projects