gitlab-org--gitlab-foss/app/policies/protected_branch_access_pol...

6 lines
123 B
Ruby

# frozen_string_literal: true
class ProtectedBranchAccessPolicy < BasePolicy
delegate { @subject.protected_branch }
end