mix absinthe_permission.audit (AbsinthePermission v1.0.0)

Copy Markdown View Source

Print every AbsinthePermission rule attached to a schema, grouped by (type, field).

Usage

mix absinthe_permission.audit MyApp.Schema

Options

  • --formattext (default) or json
  • --filter — substring filter on field name (case-insensitive)

Examples

mix absinthe_permission.audit MyApp.Schema
mix absinthe_permission.audit MyApp.Schema --format json
mix absinthe_permission.audit MyApp.Schema --filter todo

Designed for two audiences:

  • Humans — quick survey of what's protected and how.
  • AI coding agents — machine-readable JSON output via --format json, for programmatically reasoning about the schema.