yii2-podium
yii2-podium copied to clipboard
Permissions with inherited users
In the user can function should it use the logged in users id form the app not using the podium id that is different to the Yii::$app->user->getId()
like
$access = Podium::getInstance()->rbac->checkAccess($user->inherited_id, $permissionName, $params);
https://github.com/bizley/yii2-podium/blob/16b3f831da92a0850f196a690ba2d45fce207ba7/src/models/User.php#L575
Same issue is already opened #115
Guys, I'm terribly sorry, super busy right now. I promise to handle everything with Podium soon.