P
P
Pavel Gogolinsky2014-07-25 16:12:35
Yii
Pavel Gogolinsky, 2014-07-25 16:12:35

Does anyone have an example of organizing RBAC in yii?

I read this post yiiframework.ru/doc/cookbook/ru/access.rbac.file, it is good, but nothing is said about the use of operations and tasks.
Does anyone have a working example with them. Need to see:
1) How to properly organize conf/auth.php using operations and tasks.
2) How to pass parameters to the business rule for the task in the controller in accessRules().
Or maybe someone will listen briefly to what I'm doing (with examples) and try to explain why my access level is not applied

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander David, 2014-07-25
@gogolinsky

habrahabr.ru/post/177873

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question