Issue Task Rejected

#85640Use context object in database restrictions

Oliver Hader 07/25/18, 10:46 updated 11/22/24, 15:32

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.

Reviews 1