convex-authz — a fully featured authorization component for Convex that supports Role-Based Access Control (RBAC), Attribute-Based Access Control (ABAC), and Relationship-Based Access Control (ReBAC) with O(1) indexed permission lookups — inspired by Google’s Zanzibar.
https://github.com/dbjpanda/convex-authz
Hope it will help someone..