protected function canDeleteCategoryGroup()
    {
        return isset($this->data_category_group['category_group_id'])
            && $this->category_group->canDelete($this->data_category_group['category_group_id'])
            && $this->access('category_group_delete');
    }