protected function RenderGroupRights()
    {
        if (!$this->CanAssignGroup()) {
            return '';
        }
        $result = $this->RenderElement('UserGroup');
        return $result . '<div id="group-rights">' . $this->contentRights->Render() . '</div>';
    }