Task #85640

Use context object in database restrictions

Added by Oliver Hader almost 3 years ago. Updated over 1 year ago.

Status:
Under Review
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Start date:
2018-07-25
Due date:
% Done:

0%

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

Description

In order to apply the existing Context object, its aspects need to be applied when executing queries using DBAL. This has possibly an impact on
  • Extbase QuerySettings (has to be checked)
  • QueryBuilder and applying restrictions

By using and adapter, the Context object can be upgraded to be a ContextBasedRestrictionContainer which implements QueryRestrictionContainerInterface which keeps a local reference to the originating Context object in order to retrieve its aspects.

#1

Updated by Susanne Moog almost 3 years ago

  • Target version changed from 9.4 to 9 LTS
#2

Updated by Oliver Hader almost 3 years ago

  • Status changed from New to Accepted
#3

Updated by Oliver Hader over 2 years ago

  • Assignee deleted (Oliver Hader)
#4

Updated by Benni Mack over 2 years ago

  • Target version changed from 9 LTS to Candidate for Major Version
#5

Updated by Manuel Selbach almost 2 years ago

  • TYPO3 Version changed from 9 to 10
#6

Updated by Manuel Selbach almost 2 years ago

  • Assignee set to Manuel Selbach
#7

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from Accepted 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/+/61552

#8

Updated by Gerrit Code Review almost 2 years ago

Patch set 2 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/+/61552

#9

Updated by Gerrit Code Review almost 2 years ago

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

#10

Updated by Gerrit Code Review over 1 year ago

Patch set 4 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/+/61552

Also available in: Atom PDF