diff options
Diffstat (limited to 'app/policies/prometheus_alert_policy.rb')
-rw-r--r-- | app/policies/prometheus_alert_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/prometheus_alert_policy.rb b/app/policies/prometheus_alert_policy.rb new file mode 100644 index 00000000000..e6b0e6e8c17 --- /dev/null +++ b/app/policies/prometheus_alert_policy.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class PrometheusAlertPolicy < ::BasePolicy + delegate { @subject.project } +end |