RBAC Rules

Anyone knows how to implement rules in RBAC?

Table "auth_item" has a field "rule_name" and also there is a table named "auth_rule". What are these for?

Any example on how to use them?

Thank you.

PS: Please don’t post about RBAC in general. I’m perfectly aware of that. I’m only interested about implementing rules and how to use auth_rule table and “rule_name” field.

Thank you again.

Rules are described in the official guide, aren’t they?

If documentation was clear enough for me, I wouldn’t ask for help in the forum. Would I?

Thanks for nothing.

http://www.yiiframework.com/doc-2.0/guide-security-authorization.html#using-rules

“auth_rule” table contains rule names and serialized rule classes in “data”. Table itself should not be managed directly but through auth manager’s ->add() method.