gitlab-org--gitlab-foss/app/policies/metrics/dashboard/annotation_policy.rb

9 lines
198 B
Ruby

# frozen_string_literal: true
module Metrics
module Dashboard
class AnnotationPolicy < BasePolicy
delegate { @subject.cluster }
delegate { @subject.environment }
end
end
end