Logo Dark Logo Melange Documentation Updates
CTRL K
    GitHub
    CTRL K
      • Documentation
        • Getting Started
        • Concepts
          • How It Works
          • Authorization Modelling
          • Tuples View
        • Guides
          • Checking Permissions
          • Listing Objects
          • Listing Subjects
        • Reference
          • CLI Reference
          • Configuration
          • SQL API
          • Performance
          • OpenFGA Compatibility
        • Contributing
          • Testing
          • Benchmarking
          • Project Structure
      • Updates
        • Melange v0.4.0 - Preview
        • Melange v0.3.0 - Preview
        • Melange v0.2.0 - Preview
        • Melange v0.1.0 - Preview
      • Light

      • Dark

      • System

      Free, open source

      Zanzibar-Style Authorization 
      for PostgreSQL

      Implement fine-grained, relationship-based access control without external services. 
      Melange compiles OpenFGA schemas into SQL functions that run inside your existing database.

      Get Started GitHub

      Pure PostgreSQL

      Zero external dependencies. No sidecars, no services. Everything runs as SQL functions inside your database.

      OpenFGA Compatible

      100% schema 1.1 conformance. Use familiar DSL syntax with full feature support, tested against the official test suite.

      Sub-Millisecond Checks

      Benchmarked performance. Permission checks, object listing, and subject listing all complete in under 1ms.

      No Tuple Sync

      Permissions derived from views over your domain tables. Always in sync, transaction-aware, zero data duplication.

      Transaction Aware

      Permission checks see uncommitted changes within the same transaction. No stale authorization data.

      Language Agnostic

      Go client library included, or call SQL functions directly from any language. Use in triggers, RLS policies, or application code.

      • Light

      • Dark

      • System


      GitHub · OpenFGA

      Melange is not affiliated with or endorsed by OpenFGA or Okta.

      Documentation built with Hextra