Answer the question
In order to leave comments, you need to log in
How can Yii do the opposite of Yii::app()->user->checkAccess('3')?
Followed the recipe yiiframework.ru/doc/cookbook/ru/access.rbac.file . Only changed the array keys in auth.php to integer indexes, but this one:
if(Yii::app()->user->checkAccess('3')){
echo "hello, I'm administrator";
}
Answer the question
In order to leave comments, you need to log in
Only changed array keys in auth.php ha integer indexes
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question