Open wilson29thid opened 7 months ago
Instead of putting the logic in User#active_admin_editor?, create a ManagePolicy using Pundit's headless policies approach, just for consistency.
User#active_admin_editor?
ManagePolicy
Instead of putting the logic in
User#active_admin_editor?
, create aManagePolicy
using Pundit's headless policies approach, just for consistency.