Prisma, Authorization, Typescript, Web Development.
“manage” permission and a “staff” role with “view” permission. Schema​ model User { id Int @id @default(autoincrement()) name String roles Role[] } model Role { id Int @id @default(autoincrement()) name String users User[] // users belonging to the role permissions Permission[] // permissions