summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorReuben Pereira <rpereira@gitlab.com>2019-01-09 21:04:27 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-01-09 21:04:27 +0000
commitd69074fc722351fef313b09255a7e734c01618ac (patch)
treec2e9c2c15bd87eac4673428be687676167f1c1f0 /app/policies
parent47698eec4086b82047a677e218a5299f73c46109 (diff)
downloadgitlab-ce-d69074fc722351fef313b09255a7e734c01618ac.tar.gz
Service for calling Sentry issues api
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/project_policy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index d70417e710e..12f9f29dcc1 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -200,6 +200,7 @@ class ProjectPolicy < BasePolicy
enable :read_environment
enable :read_deployment
enable :read_merge_request
+ enable :read_sentry_issue
end
# We define `:public_user_access` separately because there are cases in gitlab-ee