« Previous | Next » 

Revision 47a026d8

ID47a026d830cd1106fd890a94fc86bbec21daaa84
Parent 11615c70
Child c9f1e6c4

Added by Bastian Waidelich about 7 years ago

[BUGFIX] Don't evaluate ``SecurityContextHash`` if authorization checks are disabled

Previously ``Security\Context::getContextHash()`` evaluated all
``contextHashComponents`` even if ``areAuthorizationChecksDisabled()``
returned TRUE.
This could lead to data that was fetched within the
``withoutAuthorizationChecks`` closure to be stored in the wrong caches.

Change-Id: Ib6dcc7cbe7bf14d7162dacc417360c8539741cbf
Related: NEOS-5
Related: NEOS-433
Releases: master, 3.0

  • added
  • modified
  • copied
  • renamed
  • deleted