Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-08 00:07:50 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-08 00:07:50 +0300
commitd203316c80aa27cf747aa29df9f7c2d374965b5f (patch)
treeaab5cde76fbf19a2639f6f9f3cb4f2acdc95f803 /app/policies
parent8dafc3b65aeb8f50fdfc38fb98d96c3db9e2f607 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/grafana_integration_policy.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/grafana_integration_policy.rb b/app/policies/grafana_integration_policy.rb
new file mode 100644
index 00000000000..529a1fe0493
--- /dev/null
+++ b/app/policies/grafana_integration_policy.rb
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+class GrafanaIntegrationPolicy < BasePolicy
+ delegate { @subject.project }
+end