ash_policy_authorizer v0.11.0 API Reference
Modules
Documentation forthcoming.
A behaviour for declaring checks, which can be used to easily construct authorization rules.
This check is true when the action name matches the provided action
This check is true when the action type matches the provided type
This check is true when the provided function over the actor returns true
This check is true when a field on the record matches a specific filter
The global authorization checks built into ash
This check is true when attribute changes correspond to the provided options.
Simple equality check between a field on the actor and a field on the record
This check is true when the provided result is true, and false otherwise
Determines if a set of authorization requests can be met or not.
A type of check that is represented by a filter statement
Raised when authorization for an action fails
A type of check that operates only on request context, never on the data