Implement fine-grained, relationship-based access control without external services.
Melange compiles OpenFGA schemas into SQL functions that run inside your existing database.
Zero external dependencies. No sidecars, no services. Everything runs as SQL functions inside your database.
100% schema 1.1 conformance. Use familiar DSL syntax with full feature support, tested against the official test suite.
Benchmarked performance. Permission checks, object listing, and subject listing all complete in under 1ms.
Permissions derived from views over your domain tables. Always in sync, transaction-aware, zero data duplication.
Permission checks see uncommitted changes within the same transaction. No stale authorization data.
Go client library included, or call SQL functions directly from any language. Use in triggers, RLS policies, or application code.