Issue Bug Closed

#66412Saving own user configuration fails when exclude fields are configured

Benjamin Serfhos 04/14/15, 10:09 updated 10/02/18, 11:45

Description

The \TYPO3\CMS\Setup\Controller\SetupModuleController::storeIncomingData() forces the update for the user even if he is not admin. If the fields are however by external functionality excluded, this does not work anymore.

Howto reproduce;

// Force all fields to exclude for users
foreach ($GLOBALS[‘TCA’][‘be_users’][‘columns’] as $key => &$configuration) {
if (!isset($configuration[‘exclude’])) {
$configuration[‘exclude’] = 1;
}
}

Now as editor their data in the user tools cannot be edited by them.

Reviews 2