diff options
Diffstat (limited to 'app/policies/project_import_state_policy.rb')
-rw-r--r-- | app/policies/project_import_state_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/project_import_state_policy.rb b/app/policies/project_import_state_policy.rb new file mode 100644 index 00000000000..c2cd03337b7 --- /dev/null +++ b/app/policies/project_import_state_policy.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class ProjectImportStatePolicy < ::BasePolicy # rubocop:disable Gitlab/NamespacedClass -- required by DeclarativePolicy lookup logic + delegate { @subject.project } +end |