Exception: Phlex::Reactive::AuthorizationNotVerified
- Defined in:
- lib/phlex/reactive.rb
Overview
Raised when the default-ON verify_authorized guard (issue #168) finds an action completed WITHOUT any authorization call — the fail-closed presence-side complement to authorization_errors. It fires INSIDE the action's transaction, so the mutation rolls back, and it is NOT rescued into a 4xx: it bubbles as a developer error (a 500 your error tracker must see) because a missing authorize! is a bug, not a client fault. The message names the component#action and all three remedies (call an authorization method / mark_authorized! / declare skip_verify_authorized).