| 1 | <?php  | 
            ||
| 26 | class ManageMemberRule extends Rule  | 
            ||
| 27 | { | 
            ||
| 28 | public $name = 'canManageMember';  | 
            ||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * Executes the rule.  | 
            ||
| 32 | *  | 
            ||
| 33 | * @param string|User $user the user GUID. This should be either a GUID string representing  | 
            ||
| 34 | * the unique identifier of a user or a User instance. See [[\rhosocial\user\User::guid]].  | 
            ||
| 35 | * @param ManageMember $item  | 
            ||
| 36 | * @param array $params parameters passed to [[CheckAccessInterface::checkAccess()]].  | 
            ||
| 37 | * @return bool a value indicating whether the rule permits the auth item it is associated with.  | 
            ||
| 38 | */  | 
            ||
| 39 | public function execute($user, $item, $params)  | 
            ||
| 43 | }  | 
            ||
| 44 |