mix ash_authzed.schema.apply (ash_authzed v0.2.0)

Copy Markdown View Source

Applies the .zed or YAML Zanzibar schema file to the active ReBAC adapter (Licet, SpiceDB, or Memory).

Examples

# Applies the default schema to the configured adapter
mix ash_authzed.schema.apply

# Specifies an explicit schema file path
mix ash_authzed.schema.apply --schema priv/authzed/schema.zed

# Target an explicit adapter (licet, spicedb_http, memory)
mix ash_authzed.schema.apply --adapter spicedb_http