gitlab-org--gitlab-foss/app/policies/packages/package_policy.rb

6 lines
150 B
Ruby

# frozen_string_literal: true
module Packages
class PackagePolicy < BasePolicy
delegate { @subject.project&.packages_policy_subject }
end
end