Prisma, Authorization, Typescript, Web Development.
ownedResources Resource[] } model Access { id Int @id @default(autoincrement()) user User @relation(fields: [userId], references: [id]) userId Int resource Resource @relation(fields: [resourceId], references: [id]) resourceId Int // view permission view Boolean? // manage permission manage Boolean?