Project

General

Profile

Actions

Bug #23381

closed

sys_action: setting mountpoints as non-admin

Added by Manuel Kammermann over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-08-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

15465-sysaction-dbmounts.patch (565 Bytes) 15465-sysaction-dbmounts.patch Administrator Admin, 2010-09-11 07:36

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21472: sys_action taskcenter create/edit be-user actions do not workClosedGeorg Ringer2010-08-07

Actions
Actions #1

Updated by Georg Ringer over 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

Actions #2

Updated by Manuel Kammermann over 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.

Actions #3

Updated by Steffen Kamper about 14 years ago

committed to svn
  • 4_4 rev 8850
  • trunk rev 8851
Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF