code: public function hasRight($right) {
  		if ($this->Auth->user() !== null) {
  			return $this->getUserRights()->userHasRight($this->Auth->user(), $right);
  		}
  		return false;
  	}
docs: See UserRights::userHasRight()
  
  @param string $right right name
  @return bool