Prisma, Authorization, Typescript, Web Development.
@@allow('all', auth().roles?[permissions?[name == 'manage']]) } ERD​ Sample Code​ const prisma = new PrismaClient(); // create a "view" permission and a "manage" permission const viewPerm = await prisma.permission.create({ data: { name: 'view' }, }); const managePerm = await