-
-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
AI Policy
- I agree to follow this project's AI Policy, or I agree that AI was not used while creating this issue.
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working