bizley/yii2-podium

Permissions with inherited users

AdeAttwood opened this issue · 2 comments

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);

$access = Podium::getInstance()->rbac->checkAccess($user->id, $permissionName, $params);

Same issue is already opened #115

Guys, I'm terribly sorry, super busy right now. I promise to handle everything with Podium soon.