Installs and configures AshAuthzed in an Ash project.
Options
--adapteror-a— Authorization backend to configure (licetorspicedb). Defaults tolicet.--repoor-r— The Ecto repo for Licet to use. Defaults to<MyApp>.Repo.--schema-path— Path to the.zedor.yamlschema bundle. Defaults to"priv/licet/user_permissions.yaml".
Example
mix igniter.install ash_authzed --adapter licet
Summary
Functions
Patches an existing Ash Resource module to use Ash.Policy.Authorizer and AshAuthzed,
and appends a starter authzed do ... end block.
Functions
Patches an existing Ash Resource module to use Ash.Policy.Authorizer and AshAuthzed,
and appends a starter authzed do ... end block.