Deprecation: #90019 - Page permission logic by DataHandler 

See forge#90019

Description 

A new PagePermissionAssembler class builds the page permissions, allowing to thin out certain parts of DataHandlers responsibilities.

The following properties and methods within DataHandler have been marked as deprecated:

  • TYPO3\CMS\Core\DataHandling\DataHandler->defaultPermissions
  • TYPO3\CMS\Core\DataHandling\DataHandler->pMap
  • TYPO3\CMS\Core\DataHandling\DataHandler->setTSconfigPermissions()
  • TYPO3\CMS\Core\DataHandling\DataHandler->assemblePermissions()

The following methods should only be called with integers as permission argument:

  • TYPO3\CMS\Core\DataHandling\DataHandler->doesRecordExist()
  • TYPO3\CMS\Core\DataHandling\DataHandler->recordInfoWithPermissionCheck()

Impact 

Calling the mentioned methods will trigger a PHP E_USER_DEPRECATED error and will be removed in TYPO3 v11.0.

Affected Installations 

Any TYPO3 installation that enriches page permission handling and directly accesses the methods or properties in DataHandler.

Migration 

Ensure to use the new PagePermissionAssembler PHP class which serves as a proper API for creating page permissions.