CheckPermission answers one question: does this subject have this permission on this resource? A worked schema, tuple writes, the rewrite-tree mechanism, and the mistakes that produce wrong answers.
Learn how Spicedb’s policy caching can slash decision‑making latency, how to enable it, monitor its impact, and what trade‑offs to watch for. A step‑by‑step example shows the real‑world benefit and how to keep your system stable.
Stop creating hundreds of roles to handle conditional access. Learn how to use SpiceDB Caveats to implement Attribute-Based Access Control (ABAC) for time-bound and context-aware permissions.
Stop making hundreds of CheckPermission calls. Learn how to use SpiceDB's LookupResources to efficiently retrieve all resources a user can access in a single, paginated request.
Learn how to implement team-based authorization in Laravel Jetstream using scoped Gates and the currentTeam mechanism to prevent data leakage between organizations.
SpiceDB applies your authorization schema atomically, but relationship backfills are not. Here is a four-phase rollout that avoids silent permission regressions.
Learn how SpiceDB’s dynamic ACLs and policy templates let you write reusable, attribute‑based rules that adapt at request time. A concrete example, trade‑offs, and next steps are provided to help you decide if SpiceDB fits your app’s security needs.
OpenAPI Security Schemes and Permission Boundaries The OpenAPI specification allows an API designer to declare authentication mechanisms through securitySchemes and to attach them at the global, path, or operation level via security requirements. These declarations document what credentials or tokens a client must present and optionally list scope names. How