public function setRights($rights)
    {
        $this->_rights = $rights;
        Session::get()->updateListItem(App::get()->shortName . $this->sessionKey, 'rights', $this->_rights, array('vars' => array(), 'rights' => array()));
        return $this;
    }
public function setRights($rights)
    {
        $this->_rights = $rights;
        Session::get()->updateListItem(App::get()->shortName . $this->sessionKey, 'rights', $this->_rights, array('vars' => array(), 'rights' => array()));
        return $this;
    }
public function setRights ( $ rights ) { $ this -> _rights = $ rights ; Session :: get ( ) -> updateListItem ( App :: get ( ) -> shortName . $ this -> sessionKey , 'rights' , $ this -> _rights , array ( 'vars' => array ( ) , 'rights' => array ( ) ) ) ; return $ this ; }
Set a new set of rights for active user.
@param $rights
@return $this
Set a new set of rights for active user .