Breaking: #93062 - Various group-related public properties in BE_USER removed¶
See Issue #93062
The PHP API class
BackendUserAuthentication was built back in
PHP4 days and had a few public properties which have been removed.
Their purpose was to store data between methods while resolving groups, where there are other methods containing all group-related information already anyways.
Accessing or setting these properties will raise a PHP warning.
TYPO3 installations with third-party extensions accessing these
BackendUserAuthentication properties, which is highly unlikely,
or because they were built 10 years ago, still accessing these properties.
BackendUserAuthentication->userGroupsUID (array of group UIDs) instead,
which contains the groups in the proper order on how they were resolved.
If this is not needed directly, it is usually highly recommended to use the Context API’s “backend.user” aspect to retrieve groups of a backend user.