One hierarchy for every product.
Each product declares its own resource types: workspaces, projects, documents. Its customers are organizations, and roles apply to a whole organization or to any resource in it.
Product users are a directory only: sign-in stays with your identity provider.
Ask, and get the reason.
Your backend asks whether a user or an organization API key may take an action on a resource, in the OpenID AuthZEN shape. A denial is a normal answer that names why.
- NOT_A_MEMBER: the user is not in that organization.
- RESOURCE_NOT_IN_ORGANIZATION: the resource belongs elsewhere.
- MISSING_PERMISSION: the role does not hold the action, with the permissions it lacks.
May ada write flows in the Payments workspace?
POST /access/v1/evaluation
- user adamember of Acme
- workspace Paymentsin Acme
- flows:writeheld by Editor
decision: true
Fine-grained, on OpenFGA.
Every decision comes from OpenFGA, the Zanzibar-style engine, running inside Anchor. Each product gets its own store and a model compiled from its resource types and permissions. A role held on a workspace reaches every folder and document under it.
Shaped like your product.
Declare the containers your product has, and add a new kind the day your product grows one: projects inside workspaces, teams, boards. Up to five levels deep, folders inside folders. Draw the tree in the admin canvas or keep it in Terraform.
- Add a new container type at any level; roles already held keep reaching down.
- Add, rename, move or remove a resource with one call.
- Register only what holds a role; check anything else through its nearest container.
organization›workspace››folder›document
Acme’s resources
- organizationAcme
- workspacePayments ada · Editor
- folderInvoices
- documentQ3 report
ada can write Q3 report: her role on Payments reaches it.
Limits you can read, decisions you keep.
Each product declares a license schema and license templates; every organization holds one license copied from a template. Your backend reports usage, and Anchor reads each limit. Anchor validates but never gates: what to block stays your product’s call.
| License field | Usage shape | Limit | Usage | Status |
|---|---|---|---|---|
| flows | gauge | 50 | 37 | within_limit |
| seats | gauge | 10 | 10 | at_limit |
| runs | windowed counter | 1,000 | 1,180 | exceeded |
Status is computed on read. A limit with no usage on record reads stale.
Built to sit under your products.
Source-available.
Free for permitted uses under FSL-1.1. Each version becomes Apache 2.0 two years after release.