Bug #66412
closedSaving own user configuration fails when exclude fields are configured
100%
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.
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38684
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38684
Updated by Markus Klein over 9 years ago
I'm failing to understand the usecase.
A normal user never has access to the be_user record. So why having exclude fields?
Updated by Benjamin Serfhos over 9 years ago
The usecase is for user maintenance by a module for "super users".
I have a module for backend users so they can adjust other "regular users" via default TCA configuration.
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38684
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38684
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39049
Updated by Benjamin Serfhos over 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 36cc209df0e79eff3cd5783460197e47dc2d9b5a.