ash_policy_authorizer v0.1.6 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 a field on the actor equals a specific value

Simple equality check between a field on the actor and a field on the record

The global authorization checks built into ash

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.

The dsl for ash policy authorizer

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