Prisma, Authorization, Typescript, Web Development.
auth()]) } model Resource { id Int @id @default(autoincrement()) name String public Boolean @default(false) owner User @relation(fields: [ownerId], references: [id]) ownerId Int org Org @relation(fields: [orgId], references: [id]) orgId Int // require login @@deny('all', auth() == null) // can be