Skip to content
Snippets Groups Projects
Commit 26c9a8e3 authored by Georg Ringer's avatar Georg Ringer Committed by Richard Haeser
Browse files

[BUGFIX] Set tasks backend:lock & backend:unlock as not schedulable

The tasks `backend:lock` and `backend:unlock` must only be triggered
by commandline and not via backend as this doesn't make any sense.
Any admin would disable his own account by locking via backend and there
is no chance to unlock it again.

Resolves: #89387
Releases: master, 9.5
Change-Id: Ief460cfc033b555e77869b22b61b05c57a27d1a7
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61938


Tested-by: default avatarChristian Eßl <indy.essl@gmail.com>
Tested-by: default avatarJörg Bösche <typo3@joergboesche.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarSascha Rademacher <sascha.rademacher+typo3@gmail.com>
Tested-by: default avatarHenning Liebe <h.liebe@neusta.de>
Tested-by: default avatarRichard Haeser <richard@maxserv.com>
Reviewed-by: default avatarChristian Eßl <indy.essl@gmail.com>
Reviewed-by: default avatarJörg Bösche <typo3@joergboesche.de>
Reviewed-by: default avatarSascha Rademacher <sascha.rademacher+typo3@gmail.com>
Reviewed-by: default avatarHenning Liebe <h.liebe@neusta.de>
Reviewed-by: default avatarRichard Haeser <richard@maxserv.com>
parent 05eaac74
Branches
Tags
No related merge requests found
......@@ -9,10 +9,12 @@
*/
return [
'backend:lock' => [
'class' => \TYPO3\CMS\Backend\Command\LockBackendCommand::class
'class' => \TYPO3\CMS\Backend\Command\LockBackendCommand::class,
'schedulable' => false
],
'backend:unlock' => [
'class' => \TYPO3\CMS\Backend\Command\UnlockBackendCommand::class
'class' => \TYPO3\CMS\Backend\Command\UnlockBackendCommand::class,
'schedulable' => false,
],
'referenceindex:update' => [
'class' => \TYPO3\CMS\Backend\Command\ReferenceIndexUpdateCommand::class
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment