|
|
|
|
|
by obiwanpallav1
1884 days ago
|
|
I had a nice experience in building a multi tenant system in which RBAC was done by Openpolicy Agent(OPA)[0]. Our data model was N Level hierarchies of entities for each tenant and these hierarchies followed inheritance for roles. We made some policies in OPA and the membership data was present in the DB which was sent to OPA at startup. Then any diff made in membership was subsequently also sent to the OPA as well. [0] https://www.openpolicyagent.org/docs/latest/ |
|