A
@hsluoyz RBAC with domain model only allows to assign users to roles per domain, but not global. This seems to be working for me I hope it is correct
[matchers]
m = g(r.role, p.role, r.dom) && (r.dom == p.dom || p.dom == "global") && r.obj == p.obj && r.act == p.act
A
Hi all I'm new to casbin I would appreciate your help. I'm trying to create RBAC in a way that I can have global roles and domain/tenant roles. so I can assign users to roles and it will check the domain specific permissions and the global ones.
how would I accomplish that?
