This is a Zanzibar-inspired authorization library for Convex that gives you RBAC, ABAC, and ReBAC with O(1) permission checks through pre-computed indexes. You'd reach for it when building multi-tenant apps or anything where "can this user do this thing" needs to be fast and correct at scale. The v2 API unifies everything into a single Authz class with support for role inheritance, relationship traversal, and scoped permissions. It's opinionated about being Convex-native rather than database-agnostic, which means tighter integration but also lock-in. The type safety is solid and the tuple-based relationship model will feel familiar if you've used SpiceDB or similar systems.

skills.sh installs
170
GitHub stars
11
last updated
Aug 21, 2026

Install

$ npx -y skills add dbjpanda/convex-tenants --skill convex-authz --agent claude-code

Installs into .claude/skills of the current project.

Files

@djpanda/convex-authz

A comprehensive, production-ready authorization component for Convex featuring RBAC, ABAC, and ReBAC with O(1) indexed lookups, inspired by Google Zanzibar.

npm version License: MIT Convex Approved

Features

Sponsors

Details

Repository
github.com/dbjpanda/convex-tenants
Categories
Security, Databases
First seen
Jun 3, 2026

More from dbjpanda/convex-tenants

All 2

Recommended

More Security
1win4r avataropenclawwin4r/openclaw-skillComprehensive guide for installing, configuring, operating, and troubleshooting OpenClaw — a self-hosted, multi-channel AI agent gateway. Use when the user asks149skills.sh installs
2samhvw8 avatarinfra-engineersamhvw8/dotfilesComprehensive infrastructure engineering covering DevOps, cloud platforms, FinOps, and DevSecOps. Platforms: AWS (EC2, Lambda, S3, ECS, EKS, RDS, CloudFormation139skills.sh installs
3borghei avatarsenior-secopsborghei/claude-skillsSecOps for application security, vulnerability management, compliance, and secure development. Use when implementing security controls, conducting security audi133skills.sh installs
4modu-ai avatarmoai-domain-backendmodu-ai/moai-adkBackend development specialist covering API design, database integration, microservices architecture, and modern backend patterns. Use when designing APIs, impl133skills.sh installs
5davila7 avatarAPI Integration Specialistdavila7/claude-code-templatesExpert in integrating third-party APIs with proper authentication, error handling, rate limiting, and retry logic. Use when integrating REST APIs, GraphQL endpo0skills.sh installs
6davila7 avatarAWS Penetration Testingdavila7/claude-code-templatesThis skill should be used when the user asks to "pentest AWS", "test AWS security", "enumerate IAM", "exploit cloud infrastructure", "AWS privilege escalation",0skills.sh installs