Prisma, Authorization, Typescript, Web Development.
auth() == this) } model Org { id Int @id @default(autoincrement()) name String members OrgMember[] resources Resource[] // require login @@deny('all', auth() == null) // everyone can create an org @@allow('create', true) // any user in the org can read the org @@allow('read', members?[user ==