Project

General

Profile

Actions

Bug #66412

closed

Saving own user configuration fails when exclude fields are configured

Added by Benjamin Serfhos over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
Start date:
2015-04-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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.

Actions

Also available in: Atom PDF