Closed genichyar closed 7 years ago
Problem can be viewed at another point.
Why does \yii\rbac\PhpManager::checkAccess() execute \yii\rbac\PhpManager::checkAccessRecursive even if assignments and defaultRoles are empty?
I guess it could be improved. Need to review code though.
Using \yii\web\User::can() for guest always returns false for all my cases. But it checks permissions and executes all relative bizrules.
Why does \yii\web\User::can() not return false for guest default without any checks?