Repolode

#permissions

Best open-source access control and permission libraries (2026)

These libraries decide who can reach which resources and actions in an application. When choosing one, check which model fits your case: ACL, RBAC or ABAC, and whether policies live in model and policy files or in a database. Casbin is a Go library that enforces ACL, RBAC and ABAC policies from configuration files. spatie/laravel-permission stores users, roles and permissions in the database and checks them through Laravel's gate. mercury-agent is a self-hosted AI agent that gates its tools by permission.

6 repositories