Project

General

Profile

Actions

Task #100023

closed

FrontendRestrictionContainer should pass frontend groups to FrontendGroupRestriction

Added by Markus Friedrich about 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2023-02-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

FrontendRestrictionContainer supports the usage of a local Context, but isn't passing the frontend group settings to the FrontendGroupRestriction.

As the FrontendGroupRestriction uses the global Context to fetch the frontend groups if no groups are passed, simulating an environment with differing user groups is currently not possible. In the case of EXT:solr a simulated environment is used for indexing, but currently the wrong records might be indexed, as the SQL statement is always build with the global frontend user groups.

Actions #1

Updated by Markus Friedrich about 1 year ago

IMHO it shouldn't be a problem to pass the frontend groups, I'll provide a patch so we can discuss on that basis.

In general I would be glad if we could adopt this for v12 and v11.

Actions #2

Updated by Gerrit Code Review about 1 year 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/+/77940

Actions #3

Updated by Gerrit Code Review about 1 year 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/+/77940

Actions #4

Updated by Markus Friedrich about 1 year ago

  • Description updated (diff)

(description corrected)

Actions #5

Updated by Gerrit Code Review about 1 year ago

Patch set 3 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/+/77940

Actions #6

Updated by Gerrit Code Review about 1 year ago

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

Actions #7

Updated by Markus Friedrich about 1 year ago

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

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF