abstract public execute ( string | integer $user, |
||
$user | string | integer | the user ID. This should be either an integer or a string representing the unique identifier of a user. See [[\yii\web\User::id]]. |
$item | the role or permission that this rule is associated with | |
$params | array | parameters passed to [[CheckAccessInterface::checkAccess()]]. |
return | boolean | a value indicating whether the rule permits the auth item it is associated with. |