Project

General

Profile

Actions

Task #85640

open

Use context object in database restrictions

Added by Oliver Hader over 6 years ago. Updated about 3 years ago.

Status:
New
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.

Actions

Also available in: Atom PDF