[FEATURE] Allow adding additional query restrictions
Make it possible to add additional query restrictions, that will be applied to every query. Resolves: #84244 Releases: master, 8.7 Change-Id: I0d0a5546629587306e537da51d8a2557d7e95fce Reviewed-on: https://review.typo3.org/56341 Reviewed-by:Georg Ringer <georg.ringer@gmail.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
TYPO3com <no-reply@typo3.com> Reviewed-by:
Nicole Cordes <typo3@cordes.co> Tested-by:
Nicole Cordes <typo3@cordes.co> Reviewed-by:
Helmut Hummel <typo3@helhum.io> Tested-by:
Helmut Hummel <typo3@helhum.io>
Showing
- typo3/sysext/core/Classes/Database/Query/QueryBuilder.php 17 additions, 5 deletionstypo3/sysext/core/Classes/Database/Query/QueryBuilder.php
- typo3/sysext/core/Classes/Database/Query/Restriction/AbstractRestrictionContainer.php 14 additions, 6 deletions...tabase/Query/Restriction/AbstractRestrictionContainer.php
- typo3/sysext/core/Classes/Database/Query/Restriction/EnforceableQueryRestrictionInterface.php 33 additions, 0 deletions...uery/Restriction/EnforceableQueryRestrictionInterface.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 3 additions, 0 deletionstypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-84244-AllowAddingAdditionalQueryrestrictions.rst 48 additions, 0 deletions.../Feature-84244-AllowAddingAdditionalQueryrestrictions.rst
- typo3/sysext/core/Tests/Unit/Database/Mocks/InstantiatableAbstractRestrictionContainer.php 21 additions, 0 deletions...base/Mocks/InstantiatableAbstractRestrictionContainer.php
- typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php 85 additions, 2 deletions...ysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/AbstractRestrictionContainerTest.php 122 additions, 0 deletions...se/Query/Restriction/AbstractRestrictionContainerTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/BackendWorkspaceRestrictionTest.php 0 additions, 7 deletions...ase/Query/Restriction/BackendWorkspaceRestrictionTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DefaultRestrictionContainerTest.php 0 additions, 7 deletions...ase/Query/Restriction/DefaultRestrictionContainerTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DeletedRestrictionTest.php 0 additions, 7 deletions...nit/Database/Query/Restriction/DeletedRestrictionTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/EndTimeRestrictionTest.php 0 additions, 7 deletions...nit/Database/Query/Restriction/EndTimeRestrictionTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendGroupRestrictionTest.php 0 additions, 7 deletions...tabase/Query/Restriction/FrontendGroupRestrictionTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php 0 additions, 7 deletions...se/Query/Restriction/FrontendRestrictionContainerTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/HiddenRestrictionTest.php 0 additions, 7 deletions...Unit/Database/Query/Restriction/HiddenRestrictionTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/StartTimeRestrictionTest.php 0 additions, 7 deletions...t/Database/Query/Restriction/StartTimeRestrictionTest.php
Please register or sign in to comment