#107497RecordAccessVoter ignores includeScheduledRecords visibility aspect
Description
The RecordAccessVoter currently only handles the includeHiddenPages visibility aspect.
The includeScheduledRecords aspect is ignored (starttime and endtime checks are always applied).
As a developer I expect all aspects being handled (param Context $context Context API to check against@).
TYPO3\CMS\Core\Domain\Access\RecordAccessVoter
- main: lines 74 and 81 v13: 66 and 72
Use case
Backend Preview of a Content Element using EXT:content_blocks (tt_content.pages: 'type' => 'group', 'allowed' => 'pages') which generates a TYPO3\CMS\Core\Collection\LazyRecordCollection using \TYPO3\CMS\Core\Domain\RecordFactory->createResolvedRecordFromDatabaseRow() (pure TYPO3 core stuff).
As an editor I expect all records (including outdated/scheduled) to be listed in the BE preview.
Reviews 2
History 69
-
Georg Tiefenbrunn commented 09/19/25, 13:41
-
Garvin Hicking changed category 09/19/25, 18:28
-
Gerrit Code Review pushed patch set 1 for main to change 90762 status
NewUnder Review 09/22/25, 16:40 -
Gerrit Code Review pushed patch set 2 for main to change 90762 09/22/25, 16:52
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % 09/23/25, 06:00Applied in changeset commit:e202362e82441ad7022be897867553121967e455.
-
Gerrit Code Review pushed patch set 1 for 13.4 to change 90768 status
ResolvedUnder Review 09/23/25, 06:42 -
Georg Ringer commented and changed status
Under ReviewResolved 09/23/25, 07:10Applied in changeset commit:704fbc289c66549fb4ef986a459f922ffa23921a.
-
Georg Tiefenbrunn commented 09/23/25, 08:13
Thx for the quick fix 🤎
-
Benni Mack changed status
ResolvedClosed 12/02/25, 13:04
The corresponding issue in EXT:content_blocks: https://github.com/FriendsOfTYPO3/content-blocks/issues/440