Closed LordKino closed 6 years ago
When called in action, I can pass parameters:
if (!\Yii::$app->user->can('rule', **['post' => $id]**)) { throw new ForbiddenHttpException('Access denied'); }
How I can pass parameters using this module?
Hi, check this issue - https://github.com/yii2mod/yii2-rbac/issues/11
When called in action, I can pass parameters:
How I can pass parameters using this module?