diff options
Diffstat (limited to 'app/policies/packages/helm/file_metadatum_policy.rb')
-rw-r--r-- | app/policies/packages/helm/file_metadatum_policy.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/policies/packages/helm/file_metadatum_policy.rb b/app/policies/packages/helm/file_metadatum_policy.rb new file mode 100644 index 00000000000..4e0cb9046bf --- /dev/null +++ b/app/policies/packages/helm/file_metadatum_policy.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true +module Packages + module Helm + class FileMetadatumPolicy < BasePolicy + delegate { @subject.package_file.package } + end + end +end |