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 #1

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

Actions #2

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

Actions #3

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?

Actions #4

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.

Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

Updated by Benjamin Serfhos over 9 years ago

  • Status changed from Under Review to Resolved
Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF