Skip to content

BE: Design widget - expose moveDesign policy in ProjectPermissions

Summary

We need to restrict reordering of the designs action of the frontend if user has a Guest role. It would be best to expose this policy within ProjectPermissions connection, the policy is already present in app/policies/project_policy.rb#L404) and app/policies/project_policy.rb#L465 so we only need to expose it in GraphQL API.

Edited by Kushal Pandya