php - Passing bizRule parameters to RBAC via accessRules? -
php - Passing bizRule parameters to RBAC via accessRules? -
from research don't think possible want create sure. possible pass parameters rbac bizrule via accessrules. right need check if post owner (along other checks) before allowing them edit/delete post. need compare owner_id in bizrule verify yii::app()->user->id == param['owner_id'] don't think can pass param using accessrules? or can i?
you can't it.
different actions requiring different bizrules. inefficient load info these prior possible action execution.
php yii rbac
Comments
Post a Comment