You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I think mixins are the way to go for version policies. You're right that it could be a footman that there are no policies on that resource by default, but I'm not sure yet how to handle that ergonomically. Yes, authorize :always will cause version resources not to fail, but what we can do is set some context i.e %{ash_paper_trail_action?: true} and have a policy that checks for that, so users with authorize :always have a way to approve the actions done by this extension.
A couple issues:
authorize?: false
but does this fail if the api hasauthorize :always
The text was updated successfully, but these errors were encountered: