Skip to content
Open Source Authorization

SpiceDB
Documentation

Open source, globally consistent, fine-grained authorization system inspired by Google Zanzibar. Community-driven Chinese documentation.

schema.zed
definition user {}

definition document {
    relation owner: user
    relation editor: user
    relation viewer: user

    permission edit = owner + editor
    permission view = edit + viewer
}

Why SpiceDB

Authorization infrastructure designed for modern applications

Schema Driven

Declaratively define authorization with a schema language covering RBAC, ABAC, ReBAC and more

Global Consistency

Built on Google Zanzibar, providing causally consistent permission checks via ZedTokens

High Performance

Sub-millisecond permission checks with horizontal scaling, battle-tested in production

Auditable & Secure

Built-in Watch API for real-time change tracking with full access control audit support

Multi-Language SDKs

Official client libraries for Go, Python, Java, Ruby, Node.js and more

Chinese Community

Community-driven Chinese documentation and hands-on tutorials

Join the CommunityDiscuss authorization modeling with developers worldwide

本站为独立非官方社区项目 | Independent community project