Code of Conduct
AI Policy
Versions
Erlang/OTP 28 [erts-16.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.19.5 (compiled with Erlang/OTP 28)
Operating system
macOS
Current Behavior
Currently when using AshAdmin and the ActorPlug, then policy errors are unhandled when a users does not meet the policy check.
This error was unhandled because Ash.Error.Forbidden.Policy does not implement the AshPhoenix.FormData.Error protocol
Reproduction
Use the ActorPlug and have a user fail a Policy Check
Expected Behavior
AshAdmin should handle errors gracefully and notified a user if an action is forbidden.