Project

General

Profile

Actions

Bug #23131

closed

Autopublication task has too many rights

Added by Francois Suter over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2010-07-08
Due date:
% Done:

0%

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

Description

Inside the Scheduler task for autopublication of workspaces, the user rights are temporarily set to admin, but they are not lowered again (if needed). This was not really an issue when this piece of code was called by a CLI script. However now that it is a Scheduler task, the proper rights must be reset when the task is finished, otherwise any Scheduler that may follow will be executed with admin rights too.

NOTE: the really clean way would be for the _cli_scheduler user to have the proper rights, but the rights management in workspaces is so convoluted, that I couldn't find how to set this up properly (and the error messages are not really helpful either). This may be worth a second look once the workspaces have been through the planned improvements.

(issue imported from #M15048)


Files

15048.diff (822 Bytes) 15048.diff Administrator Admin, 2010-07-08 16:20
15048_v2.diff (840 Bytes) 15048_v2.diff Administrator Admin, 2010-08-19 11:00
Actions #1

Updated by Francois Suter over 14 years ago

Committed to trunk in revision 8608

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF