src/Reflex/Lockdown/Lockdown.php
public function has($id, $permission, $all = true)
    {
        if (! $user = $this->findUserById($id)) {
            return false;
        }

        return $user->has($permission, $all);
}
public function has($id, $permission, $all = true)
    {
        if (! $user = $this->findUserById($id)) {
            return false;
        }

        return $user->has($permission, $all);
}
public function has ( $ id , $ permission , $ all = true ) { if ( ! $ user = $ this -> findUserById ( $ id ) ) { return false ; } return $ user -> has ( $ permission , $ all ) ; }
Does the user have a permission?
@param  integer $id
@param  string  $permission
@param  boolean $all
@return boolean
Does the user have a permission?