Bug #89939
closedEnabling/disabling backend users via context menu has no effect
100%
Description
It is not possible to enable or disable a TYPO3 Backend user via context menu.
Technical analysis
Context menu sends the following command to disable backend user: /typo3/index.php?route=%2Frecord%2Fcommit&token=xxx&data[be_users][2][hidden]=1&prErr=1&redirect=%2Ftypo3%2Findex.php%3FM%3Dsystem_BeuserTxBeuser%26moduleToken%3Dyyy
The problem here is data[be_users][2][hidden]
part, which is constructed in ContextMenuActions.disableRecord
function of EXT:backend/Resources/Public/JavaScript/ContextMenuActions.js
Unlike all other tables, be_users
table uses disable
field instead of hidden
. Thus the call from context menu has no effect.
Interestingly the enable/disable button on the right of the user module send the following command: /typo3/index.php?route=%2Frecord%2Fcommit&token=xxx&prErr=1&uPT=1&redirect=%2Ftypo3%2Findex.php%3FM%3Dsystem_BeuserTxBeuser%26moduleToken%3Dyyy&data%5Bbe_users%5D%5B2%5D%5Bdisable%5D=1
In the List module the enable/disable button sends http://easyweb.ddev.site/typo3/index.php?ajaxID=%2Fajax%2Frecord%2Fprocess&ajaxToken=xxx&data[be_users][2][disable]=0