[TYPO3-core] RFC #15048: Bug: Workspaces: Autopublication task has too many rights
François Suter
fsu-lists at cobweb.ch
Thu Jul 8 16:23:27 CEST 2010
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=15048
Branches:
Trunk
Problem:
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
task that may follow will be executed with admin rights too.
Solution:
Reset the rights.
Notes:
The better solution would be that the _cli_scheduler user has the proper
rights for publishing all relevant workspaces, but I couldn't find how
to set up rights accordingly. I've pinged the workspaces team about the
topic, maybe they can come up with a better solution.
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15048.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100708/c9293478/attachment.txt>
More information about the TYPO3-team-core
mailing list