Commit 3e73f6f1 authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Robert Speicher

Scope FF by project

parent 5b10618f
......@@ -123,9 +123,9 @@ class ProjectPolicy < BasePolicy
!@subject.design_management_enabled?
end
with_scope :global
with_scope :subject
condition(:moving_designs_disabled) do
!::Feature.enabled?(:reorder_designs)
!::Feature.enabled?(:reorder_designs, @subject)
end
with_scope :subject
......
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