diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-12 12:09:36 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-12 12:09:36 +0000 |
commit | 57a3a42c88f6e7dbcfd388a5c83302f0bb666023 (patch) | |
tree | f9b3368c0f0bb66deeabccc40dedc4066ff0ee22 /app/policies/list_policy.rb | |
parent | 91e8c3a6efea1d805cfa86e7ade9a9628344cf89 (diff) | |
download | gitlab-ce-57a3a42c88f6e7dbcfd388a5c83302f0bb666023.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/list_policy.rb')
-rw-r--r-- | app/policies/list_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/list_policy.rb b/app/policies/list_policy.rb new file mode 100644 index 00000000000..97845746546 --- /dev/null +++ b/app/policies/list_policy.rb @@ -0,0 +1,5 @@ +# frozen_string_literal: true + +class ListPolicy < BasePolicy # rubocop:disable Gitlab/NamespacedClass + delegate { @subject.board.resource_parent } +end |