Controllers
This option enables exposing a set of authorization related endpoints, which helps the client side to manage the roles and permissions effectively.
Operation Mode
Discovery Based
Endpoints
Prisma Based
How to enable it
model User { id String @id @default(uuid()) roles Role[] } model Role { id String @id @default(uuid()) name String users User[] permissions Permission[] } model Permission { id String @id @default(uuid()) name String @unique roles Role[] }
Endpoints
Permissions
Decorators
Guards
Last updated