Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum
L

@hsluoyz Anything I should be aware of if implementing in a multi-tenant environment?

L

Can someone please point me in the right direction for parent-child access?

We have categories (parent) and child elements.

E.g Portfolio for Real Estate (parent). Individual property is the child.

So granting access at Portfolio level should have access to all properties.

How to pass the Portfolio access to children.

Casbin works with resources, but in this case we are giving access to parent and the child object should inherit that, i.e. access to portfolio should give access to children.

Thank you.