Open-source authorization service for implementing fine-grained access controls. Centralized, scalable solution supporting RBAC, ABAC and ReBAC with Google Zanzibar-inspired architecture.

Overview:

Permify is an open-source authorization service designed for implementing fine-grained, scalable, and extensible access controls in applications and services. Inspired by Google Zanzibar, it centralizes authorization logic outside the application codebase, allowing developers to manage permissions as a standalone service. The service responds to access control checks (e.g., "can user X view document Y?") in tens of milliseconds. It is suitable for developers and teams building applications that require granular, centralized permission management without building the entire authorization infrastructure from scratch.

Core Features:

  • Fine-Grained Permissions: Create resource-specific, hierarchical, and context-aware permissions using a domain-specific language compatible with RBAC, ReBAC, and ABAC models.

  • Centralized Authorization: Abstract authorization logic from the application codebase into a single service, making it easier to reason, test, debug, and iterate on permissions.

  • Multi-Tenant Authorization: Set up isolated authorization logic and custom permissions for different tenants, such as vendors or organizations, and manage them from one place.

  • High Performance Under Load: Designed for low-latency access checks, with load tests showing an average response time of 21.3ms and 0% request failures at 10,000 requests per second.

Use Cases:

  • Building Granular Permissions for SaaS Applications: Developers can define complex, context-aware permissions (e.g., document-level access, team-based editing) using a DSL, without hardcoding logic into the app.

  • Centralizing Authorization Across Microservices: Teams running multiple services can offload all access control checks to a single Permify service, standardizing policy enforcement and reducing duplication.

  • Managing Permissions for Multi-Tenant Platforms: Platform teams can provision separate, isolated authorization schemas for each customer (tenant), enabling custom role and permission configurations from a central control plane.

  • Handling High-Volume Authorization Checks: System architects can deploy Permify to perform real-time access checks at scale, supporting thousands of requests per second with sub-50ms latency.

Why It Matters:

Permify provides a dedicated, open-source authorization layer inspired by Google's Zanzibar, enabling teams to implement fine-grained access controls in days rather than months. By decoupling authorization from application logic, it simplifies testing and debugging of permission rules. It supports modern authorization models (RBAC, ReBAC, ABAC) and multi-tenant isolation out of the box. Performance benchmarks demonstrate the service can handle high request volumes with low latency and zero failures. Developers retain operational control with the self-hosted Community Edition or can opt for managed cloud hosting.

ShareXLinkedInReddit

Related tools

Project stats

Stars

5,861

Forks

310

License

AGPL-3.0

Metadata

Alternative to
Auth0