any docs or resource for role based acess control in prisma 2?
b
Brendan Berman
07/15/2021, 6:10 PM
what is your specific use case? In general, I’d say RBAC is implemented outside of the ORM layer (though it could of course be backed by data living inside the DB)
Brendan Berman
07/15/2021, 6:13 PM
Here’s an article on a specific package you could use in a Node application to implement rbac (it’s got a little express.js example at the bottom)
Brendan Berman
07/15/2021, 6:18 PM
Another popular library (that’s re-implemented in many languages) is casbin