Risto/Controller/Component/RistoAuthComponent.php
public function isAuthorized($user = null, CakeRequest $request = null) {
		if (empty($user) && !$this->user()) {
			return false;
		}
		if (empty($user)) {
			$user = $this->user();
		}
		if (empty($request)) {
			$request = $this->request;
		}
		if (empty($this->_authorizeObjects)) {
			$this->constructAuthorize();
		}
		foreach ($this->_authorizeObjects as $authorizer) {
			if ($authorizer->authorize($user, $request) === false) {
				return false;
			}
		}
		return true;
	}
public function isAuthorized($user = null, CakeRequest $request = null) {
		if (empty($user) && !$this->user()) {
			return false;
		}
		if (empty($user)) {
			$user = $this->user();
		}
		if (empty($request)) {
			$request = $this->request;
		}
		if (empty($this->_authorizeObjects)) {
			$this->constructAuthorize();
		}
		foreach ($this->_authorizeObjects as $authorizer) {
			if ($authorizer->authorize($user, $request) === false) {
				return false;
			}
		}
		return true;
	}
public function isAuthorized ( $ user = null , CakeRequest $ request = null ) { if ( empty ( $ user ) && ! $ this -> user ( ) ) { return false ; } if ( empty ( $ user ) ) { $ user = $ this -> user ( ) ; } if ( empty ( $ request ) ) { $ request = $ this -> request ; } if ( empty ( $ this -> _authorizeObjects ) ) { $ this -> constructAuthorize ( ) ; } foreach ( $ this -> _authorizeObjects as $ authorizer ) { if ( $ authorizer -> authorize ( $ user , $ request ) === false ) { return false ; } } return true ; }
Al contrario que el isAuthorized que viene en CakePhp
este se fija si algun Adapter retorna false, y entonces retorna false.

el orioginal de Cake hace al reves: con que venga un true. ya le da acceso
a todos

@param array|null $user The user to check the authorization of. If empty the user in the session will be used.
@param CakeRequest|null $request The request to authenticate for. If empty, the current request will be used.
@return bool True if $user is authorized, otherwise false
Al contrario que el isAuthorized que viene en CakePhp este se fija si algun Adapter retorna false y entonces retorna false .