Hey,
I’m currently working on a webinterface for the Rbac Feature in YiiFramwork2.
When I try to get the permissions for a user i use the authManager method getPermissionsByUser($userid)
As result I get only the permissions i assigned through roles, and not the permissions i assigned directly?
Is this intended behavior?
$auth = \Yii::$app->authManager->getPermissionsByUser($userid)
Kind regards
Configuration:
-Framework 2.0.0-beta
-Php 5.5.13
-Nginx Webserver
-MariaDB
Alex