1 2 3 4 5 6 7
module Ci class PipelinePolicy < BasePolicy def rules delegate! @subject.project end end end