public function has_right($right)
    {
        $this->load_global_rights();

        if (!isset($this->_global_rights[$right])) {
            throw new Exception('This right does not exists');
        }

        return $this->_global_rights[$right];
    }
public function has_right($right)
    {
        $this->load_global_rights();

        if (!isset($this->_global_rights[$right])) {
            throw new Exception('This right does not exists');
        }

        return $this->_global_rights[$right];
    }
public function has_right ( $ right ) { $ this -> load_global_rights ( ) ; if ( ! isset ( $ this -> _global_rights [ $ right ] ) ) { throw new Exception ( 'This right does not exists' ) ; } return $ this -> _global_rights [ $ right ] ; }
Check if the user has the right, on at least one collection

@param  string $right
@return bool
@throws Exception
Check if the user has the right on at least one collection