gitlab-org--gitlab-foss/app/policies/protected_branch_access_policy.rb

5 lines
123 B
Ruby

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