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;
    }