Project

General

Profile

Bug #91873

Updated by S P about 1 month ago

This method is marked with: 

 @@internal This is not a public API method, do not use in own extensions@ 

 However, the changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85977-ExtbaseCommandControllersAndCliAnnotation.html?highlight=initializebackendauthentication say this: 

 > If anything related to DataHandler and Backend permission handling is necessary, you should run Bootstrap::initializeBackendAuthentication(); 

 and the docs https://docs.typo3.org/m/typo3/reference-coreapi/12.4/en-us/ApiOverview/DataHandler/UsingDataHandler/Index.html#dataHandler-cli-command https://docs.typo3.org/m/typo3/reference-coreapi/9.5/en-us/ApiOverview/CommandControllers/Index.html#initialize-backend-user say this: 

 > If anything related to DataHandler and backend permission handling is necessary, you should call this initialization method once in your execute() function: 
 > 
 > Bootstrap::initializeBackendAuthentication(); 

 I'm confused, what is correct here? Is it safe/needed/obsolete to call this methode or not?

Back