Task #85640

Use context object in database restrictions

Added by Oliver Hader 12 months ago. Updated 10 months ago.

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

0%

TYPO3 Version:
9
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.

History

#1 Updated by Susanne Moog 11 months ago

  • Target version changed from 9.4 to 9 LTS

#2 Updated by Oliver Hader 11 months ago

  • Status changed from New to Accepted

#3 Updated by Oliver Hader 10 months ago

  • Assignee deleted (Oliver Hader)

#4 Updated by Benni Mack 10 months ago

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

Also available in: Atom PDF