Deprecation: #86441 - Various methods and properties inside BackendUserAuthentication

See forge#86441

Description

Some minor changes have been made with TYPO3\CMS\Core\Authentication\BackendUserAuthentication in order to continue cleaning up the code.

The property checkWorkspaceCurrent_cache has been marked as protected, as it is an internal cache.

The second argument of method modAccess() has been marked as deprecated, as the method should not trigger runtime exceptions anymore.

The method isPSet() has been marked as deprecated.

The following - mostly workspaces-related - methods have been marked as "internal":

  • workspaceCannotEditOfflineVersion()

  • workspacePublishAccess()

  • workspaceSwapAccess()

  • workspaceCannotEditOfflineVersion()

Impact

Calling the deprecated method or the protected property will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

TYPO3 installations with enhanced workspace or permission functionality.

Migration

Avoid using the methods, and re-implement the functionality on your own, if necessary.