Skip to content

How does Casbin's RBAC model resolve policy conflicts? #338

@theChildinus

Description

@theChildinus

~question
Thanks to such a great team for making casbin! I am still new to using Casbin and RBAC access control models. I have some questions to ask:

In the official documentation RBAC model mentions:

  1. If A has role B, B has role C, then A has role C. This transitivity is infinite for now.

I want to ask:

  1. Can this situation be simulated using casbin? can you provide a example ~
  2. How does Casbin's RBAC model resolve policy conflicts, can you give an example to explain it? Or suggest what document or source code should I read?

Thanks!

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions