Hey! I'm thinking about trying out Cerbos for a B2...
# community
a
Hey! I'm thinking about trying out Cerbos for a B2B accounting control project. I'm currently using Clerk for authentication, but their system only allows one role per user, which is pretty limiting. Would Cerbos help me get around that? Does it offer any built-in role management, or would I need to handle that myself in my own database?
d
Hi Adnan, Cerbos focuses on authorization and doesn’t maintain records of users and their role assignments. Cerbos has a concept of a derived role, which is calculated based on a parent role (the role assigned to a user) and some user attributes. A user can have many derived roles. If Clerk allows adding attributes to a user, this might be enough to write Cerbos policies in terms of derived roles.
🙌 1