Repository navigation
Adds time-limited fine-grained authorization grants: OpenFGA conditions now
work end to end, with the server's own clock deciding when a grant expires.
Also stops an AI agent from granting itself access through contextual tuples,
and patches OS-package CVEs in the Docker image. Read the Upgrade notes: a
delegated (agent) token can no longer send contextual tuples.
Security
- An agent could grant itself access with a contextual tuple (#945). A delegated (RFC 8693) token could attach a contextual tuple naming itself on the relation being checked, and
check_permissions(including the MCPcheck_permissionstool) answeredallowed: true. An agent using that answer as a "check before acting" guardrail could be talked past it. Contextual tuples from a delegated token are now rejected with a permission error on GraphQL, REST, gRPC and MCP. Users, service accounts and super-admins keep them. - Docker image OS-package CVEs (#944): libssl3/libcrypto3 3.5.9-r1 (CVE-2026-95691, CVE-2026-95692, CVE-2026-107496, CVE-2026-88822, CVE-2026-88823) and musl 1.2.6-r6 (CVE-2026-107891).
Added
- Conditional (time-limited) FGA grants (#945). Models could declare OpenFGA
conditions before, but tuples could not carry one, so a conditional grant errored on every check._fga_write_tuples/AuthorizerAdminService.FgaWriteTuples/POST /v1/admin/fga/tuplesaccept acondition { name, context }on each tuple;_fga_read_tuplesreturns it (nullfor a plain tuple). Delete byuser,relationandobject.- The server supplies
current_time(its own clock, UTC) on every check, list and lookup, includinglist_permissions,required_relationsand the SAML and org-role lookups. Callers cannot set it, and it cannot be stored on a tuple. check_permissionsaccepts an optionalcontext, from a super-admin only (never through a delegated token, and nevercurrent_time). Stored tuple parameters take precedence over it.- Dashboard: the Tuples page shows each grant's condition ("Expires …" / "Expired …") and can add a grant that expires after 10 minutes to 30 days. The model page adds an AI agents (time-limited & task-scoped) example.
- MCP: the
check_permissionstool schema describescontextas a plain JSON object.
- Release smoke coverage for conditional grants on GraphQL, REST, gRPC and MCP with a real delegated token, and for the 2.4.7–2.4.9 fixes (#945, #943, #942). CI now boots
docker-compose.yamland checks persistence on every Dockerfile or compose change (#939).
Changed
- README Docker quick start (#941): one verified
docker runcommand. The image runs as UID 1000 and owns/authorizer/data, so a named volume needs no-u root; the stale UID 65532 advice and the removed--target final-rootbuild are gone. - The README's ZopDay button pulls the one-click image from Docker Hub (#940).
ROADMAP_V2.mdmarks the shipped MCP, agent, SAML, SCIM, passkey and M2M work (#937).
Upgrade notes
- Delegated tokens can no longer send contextual tuples to
check_permissions(PermissionDenied). Pass request-time facts from your trusted backend with its own credentials instead. - Every condition parameter except
current_timemust be stored on the tuple. A write that leaves one out is rejected, because most evaluation paths can only supplycurrent_time. - A model whose condition declares
current_timewith a type other thantimestampis rejected when written. - SDKs: reading tuple conditions over GraphQL needs this server. SDK releases with condition support follow this release; older SDKs keep working against it.