Prisma, Authorization, Typescript, Web Development.
Int role String // "ADMIN", "MEMBER" // require login @@deny('all', auth() == null) // org admin can create/update/delete @@allow('create,update,delete', org.members?[user == auth() && role == 'ADMIN']) // user can read members of an org if he's a member of it @@allow('read', org.members?[user ==