Issue Bug Closed

#107497RecordAccessVoter ignores includeScheduledRecords visibility aspect

Georg Tiefenbrunn 09/19/25, 13:09 updated 12/02/25, 13:04

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