How I can pass parameters to a rule?
LordKino opened this issue · comments
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 - #11