diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-08 00:07:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-08 00:07:50 +0300 |
commit | d203316c80aa27cf747aa29df9f7c2d374965b5f (patch) | |
tree | aab5cde76fbf19a2639f6f9f3cb4f2acdc95f803 /app/policies/grafana_integration_policy.rb | |
parent | 8dafc3b65aeb8f50fdfc38fb98d96c3db9e2f607 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/grafana_integration_policy.rb')
-rw-r--r-- | app/policies/grafana_integration_policy.rb | 5 |
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 |