Project

General

Profile

Actions

Bug #106559

open

No access to sub categories when using category_perms + treeConfig.startingPoints

Added by Renan Gautier 17 days ago. Updated 14 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2025-04-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Using both group user permission and treeConfig.startingPoints on the same category result in not showing the sub categories for the editor :

Expected behavior:
Subcategories under the treeConfig.startingPoints category should be visible in the editor interface, as long as the user has access via Category Mounts.

Actual behavior:
Only the root category set by treeConfig.startingPoints is visible. Its children (subcategories) are not shown, despite being accessible via the group’s Category Mounts.

Steps to reproduce:
  1. Set TCEFORM.pages.categories.config.treeConfig.startingPoints = [id of a category with children]
  2. Assign a backend user group with Category Mounts including the same root category.
  3. Log in as a backend user from that group and open a page with a category field.
  4. Observe that only the root category is shown, not the subcategories.
Workaround :
  • Adding a subcategory to the treeConfig.startingPoints configuration make the other subcategories appear

Config : TCEFORM.pages.categories.config.treeConfig.startingPoints = 3,4

Result :

I can reproduce this issue with both TYPO3 V12 and V13.


Files

Actions #1

Updated by Renan Gautier 14 days ago

  • Description updated (diff)
Actions

Also available in: Atom PDF