Project

General

Profile

Actions

Bug #87540

closed

cache_treelist does not take BE users into account

Added by Philipp Thiele almost 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2019-01-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

cache_treelist table caches the tree for the current user. If the user is anonymous, fetching cached tree for logged in backend users will skip pages allowed for those users. If the backend user was logged in when cache was created, anonymous users will get a list of pages accessible to that user (basically: hidden pages are added to cache_treelist).
exspecially confusing when using \TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor and use preview of hidden page.

Example TS:

tt_content {
    nestedContentElement {
        templateName = NestedContentElement 
        dataProcessing {
            10 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
            10 {
                table = tx_extensionname_domain_model_nestedcontent
                pidInList = 1
                languageField = sys_language_uid
                where.data = field:uid
                where.wrap = contentelement=|
                recursive = 99
                orderBy = sorting
                as = nestedContent
            }
        }
    }
}

Reproducable in TYPO3 8.7 & 9.5
related to / very much the same as #22236 issued with frontend users


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22236: cache_treelist does not take FE users into accountClosedDmitry Dulepov2010-03-04

Actions
Actions #1

Updated by Philipp Thiele almost 6 years ago

  • Related to Bug #22236: cache_treelist does not take FE users into account added
Actions #2

Updated by Gerrit Code Review about 5 years ago

  • Status changed from New to Under Review

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

Actions #3

Updated by Benni Mack almost 5 years ago

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

Updated by Gerrit Code Review almost 5 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 9.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/+/62284

Actions #5

Updated by Gerrit Code Review almost 5 years ago

Patch set 2 for branch 9.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/+/62284

Actions #6

Updated by Benni Mack almost 5 years ago

  • Status changed from Under Review to Resolved
Actions #7

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF