Commit 5b10618f authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Robert Speicher

Make move_design depend on read_design

parent be19f7d0
......@@ -33,6 +33,9 @@ class IssuePolicy < IssuablePolicy
prevent :read_design
prevent :create_design
prevent :destroy_design
end
rule { ~can?(:read_design) }.policy do
prevent :move_design
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment