Bug #23381
closedsys_action: setting mountpoints as non-admin
0%
Description
In the task center, when assigning a db_mount to a be_user as a non-admin, the db_mounts are not correctly saved.
in the file "sysext/sys_action/task/class.tx_sysaction_task.php" in the function "fixDbMount" the line:
$cleanDbMountList[] = 'pages' . $uid;
must be:
$cleanDbMountList[] = 'pages_' . $uid;
WITH an underscore.
(issue imported from #M15465)
Files
Updated by Georg Ringer about 14 years ago
i just created a new BE-user with the list view and the content of the field "db_mountpoints" looks like "24" and "24,209".
I am using current trunk
Updated by Manuel Kammermann about 14 years ago
for my installation, it is necessary, that a NON-ADMIN be_user creates/edits another be_user. if an admin creates a be_user the function fixdbmount() skips to check the users permissions.
if you debug $vars where $vars is assigned to $data you will see the different outputs in the db_mountpoint-field. for the admin the values (for your example) would be "pages_24,pages_209", but for a non-admin it is "pages24,pages209" because of the reported missing underscore.
Updated by Steffen Kamper almost 14 years ago
- 4_4 rev 8850
- trunk rev 8851