[BUGFIX] Add possibility to use session data in TS conditions 57/55557/2
authorWolfgang Klinger <wolfgang@wazum.com>
Tue, 9 Jan 2018 19:17:56 +0000 (20:17 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 5 Feb 2018 00:45:02 +0000 (01:45 +0100)
commit7fea59aa2c43c8b76d4f4cac98efe9f8c27ecfad
treebd44a18716e2b44f1a5ce1a811f72c5f2f4a8a28
parentaba02120ed09ce76031ccbf3a9f8ea579802f77b
[BUGFIX] Add possibility to use session data in TS conditions

Bring back the possibility to access FE session data in
TypoScript conditions:
[globalVar = TSFE:fe_user|sesData|some_key > 10]

Resolves: #83506
Releases: master, 8.7
Change-Id: I77f6bc73a6d9160b7074d39a948e94a59b51e521
Reviewed-on: https://review.typo3.org/55557
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php