Introduce singular _CLI_ user for all CLI calls
[!!!][FEATURE] Introduce single cli user for all CLI calls
The command line users prefixing with _CLI_scheduler etc. is flawed,
however a single user is needed for doing e.g. DataHandler calls.
This patch adds a new CommandLineUserAuthentication class, which extends
the regular $BE_USER object to only allow a user called "_cli_" and which
is created automatically if it does not exist, so the cli user always
Additionally, the cli user is now an admin user so access settings
on command line are obsolete and crucial stuff like the DataHandler can
be used without restrictions.
- Adapt Extbase Bootstrap
- Make sure to have an API to "opt-in" for the need for a user
- Adapt documentation (e.g. in scheduler) because a new user is not needed.
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Susanne Moog <email@example.com>
Tested-by: Susanne Moog <firstname.lastname@example.org>