Bug #23381
closed
sys_action: setting mountpoints as non-admin
Added by Manuel Kammermann over 14 years ago.
Updated about 6 years ago.
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
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
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.
committed to svn
- 4_4 rev 8850
- trunk rev 8851
- Status changed from Resolved to Closed
Also available in: Atom
PDF