zenstack-access-control
Installation
SKILL.md
ZenStack V3 — Access Control
ZenStack enforces access policies declared in ZModel at the ORM layer. Policies live next to your
models (see zenstack-schema-modeling); enforcement is opt-in via a runtime plugin. For client/query
basics — and for data validation — see zenstack-querying.
After editing policies, run zen generate to regenerate the client (it also validates the schema,
policy expressions included). If you only want to validate without regenerating, run zen check.
Runtime setup (required for policies to apply)
Policies do nothing until you (1) declare the plugin in the schema and (2) install it on the client.
Schema: