Project

General

Profile

Actions

Task #102857

closed

The filemounts list in groupData contains not unique values

Added by Marcin Sągol 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
Start date:
2024-01-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
8.2
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

The fetchGroupData() function within the \TYPO3\CMS\Core\Authentication\BackendUserAuthentication class sets the value of the groupData property (an array of permissions for various access list groups).

The function processes combined permissions from both user and groups to ensure that there are unique values in each list, such as modules, available_widgets, etc.

However, there seems to be a missing check for unique values in the filemounts group.


Files

Screenshot 2024-01-19 142203.jpg (52.2 KB) Screenshot 2024-01-19 142203.jpg David Menzel, 2024-01-19 13:26
Actions #1

Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82505

Actions #2

Updated by Gerrit Code Review 3 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82505

Actions #3

Updated by David Menzel 3 months ago

I just wanted to create an issue for that because I noticed in the backend comparison our "Verzeichnisfreigaben" were shown multiple times, which could only be because of inheritence/nesting of the user groups.

If that's the fix for this issue, is it possible to backport it to TYPO3 11, too?

Actions #4

Updated by Gerrit Code Review 3 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82481

Actions #5

Updated by Marcin Sągol 3 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF