Hey Devs π
I recently built a CLI + utility that syncs permissions to your Prisma database and auto-generates CASL abilities for NestJS/React projects.
π Features:
Sync permissions to your DB
Auto-generate ability classes (type-safe!)
Great for apps using Prisma + CASL
π‘ Why I built it:
I got tired of writing permissions in multiple places, forgetting to update roles in the DB, and writing repetitive CASL boilerplate. So I automated it.
π¦ npm: permission-sync-tool
π» GitHub: github.com/kennywam/permission-sync-tool
π§ Works best with:
NestJS
Prisma
CASL
TypeScript
Hope it helps someone out there! Would love feedback or feature suggestions. π
Top comments (0)