Hi friends, I am looking for a good way to handle permissions w/ Prisma. I am using nexus to define my GraphQL schema. Just found out that it exposes an
authorize hook. Inside of it I want to enforce some authorization logic. I came across the casbin (
https://casbin.org/en/) access control library which is also available for node.js. I wonder how I can integrate Prisma w/ casbin. I think the following authorization syntax is neat. Overall, I am looking for a django-guardian style object-level authorization handling in Prisma. What do you guys think?