Review main Merged

97254[FEATURE] Declare Record API public and expose page permissions

Benni Mack CR +2 V +2 Hard +256 −15 updated 11/01/26, 10:14

Commit message

The record objects introduced with TYPO3 v13 - Record, RawRecord,
Page and the value objects in Domain\Record - are marked internal,
but are already handed out by public API: RecordInterface returns
RawRecord and ComputedProperties, BeforePageIsRetrievedEvent works
with Page objects and Fluid templates receive Record objects via
the record-transformation data processor. These classes and the
RecordFactory creating them, which is already documented for use
in extensions, are now declared public API.

The permission fields of a page - owner user and group and the
permissions for owner, group and everybody - are not part of the
TCA of the pages table, so a Page object does not expose them as
properties. Page::getPermissions() now returns these settings as
an immutable PagePermissions value object. It is null if the page
was retrieved without its permission fields.

This prepares resolving the ancestry of a page in the backend as
Page objects, together with the effective permissions of a user.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Garvin Hicking +1
  • Verified V +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Garvin Hicking +1
    • core-ci +1 CI

Issues 2

Files 12

Review log 56

  1. Benni Mack uploaded patch set 1 10/31/26, 11:05

  2. core-ci voted on patch set 1 V +1 10/31/26, 11:12 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112952

  3. Garvin Hicking voted on patch set 1 CR +1 V +1 10/31/26, 11:54

  4. Georg Ringer voted on patch set 1 CR +1 V +1 10/31/26, 12:19

  5. Benni Mack voted on patch set 1 CR +2 V +2 11/01/26, 10:13

  6. Benni Mack merged patch set 2 11/01/26, 10:14