Prisma, Authorization, Typescript, Web Development.
example, a user can create a document if he has enough reputation or can read a document if the document is published. Schema​ model User { id Int @id @default(autoincrement()) name String reputation Int @default(1) // controls if a user can create a resource ownedResources Resource[] } model