Sign in
Back to projects

npm library for group-based permissions

@naskot/custom-permission-guard

Group-based permissions, global or per domain, with five actions and guards ready to plug into NestJS.

TypeScriptNestJSnpmTests unitaires

The library handles global resources and domain resources, with five base actions: access, read, create, modify, delete, plus custom actions.

Rights are carried by groups, with a default group for new accounts, protected groups and lockout protection: nobody can remove the last permission that allows groups to be administered.

In the application, everything goes through guards and decorators. Escalation protection prevents anyone from granting a permission they do not hold themselves.

It is published on npm, versioned with semantic versioning and covered by unit tests.

Other projects

Julien JEAN

Fullstack TypeScript developer, open to remote work.

© 2026 Julien JEAN

Built with

Nuxt 4.5.2Vue 3.5.42PrimeVue 4.5.5Tailwind CSS 4.3.3TypeScript 5.9.3TypeORM 1.1.1Node.js 24.20.0