[!!!][TASK] Doctrine: Simplify restriction handling
To make the set of restrictions that are in effect when creating queries with the QueryBuilder becomes more understandable, we need to remove the QueryContext and the magic applied to that and replace it with the following behavior: delete, hidden, starttime, endtime restrictions are always enabled and need to be removed if needed. Other restrictions need to be provided manually depending on the desired result. Resolves: #76167 Resolves: #76264 Releases: master Change-Id: Iaf0cb08475ed44966838c3fbdd5756d3ba6ebcc1 Reviewed-on: https://review.typo3.org/48049 Tested-by:Helmut Hummel <helmut.hummel@typo3.org> Reviewed-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Reviewed-by:
Jan Helke <typo3@helke.de> Tested-by:
Jan Helke <typo3@helke.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Reviewed-by:
Helmut Hummel <helmut.hummel@typo3.org>
Showing
- typo3/sysext/backend/Classes/Backend/Avatar/DefaultAvatarProvider.php 6 additions, 7 deletions.../backend/Classes/Backend/Avatar/DefaultAvatarProvider.php
- typo3/sysext/backend/Classes/Clipboard/Clipboard.php 13 additions, 13 deletionstypo3/sysext/backend/Classes/Clipboard/Clipboard.php
- typo3/sysext/backend/Classes/Configuration/TranslationConfigurationProvider.php 12 additions, 8 deletions...lasses/Configuration/TranslationConfigurationProvider.php
- typo3/sysext/backend/Classes/History/RecordHistory.php 21 additions, 28 deletionstypo3/sysext/backend/Classes/History/RecordHistory.php
- typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php 18 additions, 4 deletionstypo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php
- typo3/sysext/backend/Classes/Tree/View/PagePositionMap.php 15 additions, 7 deletionstypo3/sysext/backend/Classes/Tree/View/PagePositionMap.php
- typo3/sysext/belog/Classes/Controller/SystemInformationController.php 4 additions, 4 deletions.../belog/Classes/Controller/SystemInformationController.php
- typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php 5 additions, 3 deletions...lasses/Domain/Repository/BackendUserSessionRepository.php
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 46 additions, 56 deletions...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 33 additions, 21 deletions...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Database/Connection.php 2 additions, 4 deletionstypo3/sysext/core/Classes/Database/Connection.php
- typo3/sysext/core/Classes/Database/Query/Expression/CompositeExpression.php 22 additions, 1 deletion...Classes/Database/Query/Expression/CompositeExpression.php
- typo3/sysext/core/Classes/Database/Query/QueryBuilder.php 53 additions, 46 deletionstypo3/sysext/core/Classes/Database/Query/QueryBuilder.php
- typo3/sysext/core/Classes/Database/Query/QueryContext.php 0 additions, 596 deletionstypo3/sysext/core/Classes/Database/Query/QueryContext.php
- typo3/sysext/core/Classes/Database/Query/QueryRestrictionBuilder.php 0 additions, 383 deletions...t/core/Classes/Database/Query/QueryRestrictionBuilder.php
- typo3/sysext/core/Classes/Database/Query/Restriction/AbstractRestrictionContainer.php 95 additions, 0 deletions...tabase/Query/Restriction/AbstractRestrictionContainer.php
- typo3/sysext/core/Classes/Database/Query/Restriction/BackendWorkspaceRestriction.php 85 additions, 0 deletions...atabase/Query/Restriction/BackendWorkspaceRestriction.php
- typo3/sysext/core/Classes/Database/Query/Restriction/DefaultRestrictionContainer.php 44 additions, 0 deletions...atabase/Query/Restriction/DefaultRestrictionContainer.php
- typo3/sysext/core/Classes/Database/Query/Restriction/DeletedRestriction.php 50 additions, 0 deletions...Classes/Database/Query/Restriction/DeletedRestriction.php
- typo3/sysext/core/Classes/Database/Query/Restriction/EndTimeRestriction.php 69 additions, 0 deletions...Classes/Database/Query/Restriction/EndTimeRestriction.php
Please register or sign in to comment