Skip to content
Snippets Groups Projects
Commit af6445a2 authored by Markus Klein's avatar Markus Klein Committed by Georg Ringer
Browse files

[BUGFIX] BE user module shows detail view for users with no permissions

Preset the expected data values correctly to make the detail view
of BE users functional if those have no table read or modify
permissions.

Resolves: #90409
Releases: master
Change-Id: I3040390c7f702cd201909ded3499f445ea83e7c2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63280


Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent fb0b2624
Branches
Tags
No related merge requests found
......@@ -74,6 +74,8 @@ class UserInformationService
}
// table permissions
$data['tables']['tables_select'] = [];
$data['tables']['tables_modify'] = [];
foreach (['tables_select', 'tables_modify'] as $tableField) {
$temp = GeneralUtility::trimExplode(',', $user->dataLists[$tableField], true);
foreach ($temp as $tableName) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment