[TYPO3-core] RFC Bug #9270 - Editors cannot undelete content elements

Christian Hernmarck linux at lists.hernmarck.ch
Mon Jun 1 18:05:37 CEST 2009


Hi

this issue is not solved with the new extension "recycler"
(http://bugs.typo3.org/view.php?id=10455)
Tested with 4.3alpha3

Could someone please have a look at this?

Thanx

Christian


Christian Hernmarck schrieb am Mittwoch, 27. Mai 2009 08.57 im Beitrag
<mailman.1.1243407430.27332.typo3-team-core at lists.netfielders.de>:

> Hi,
> 
> this is a patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=9270
> 
> Branch: Typo3 4.2.x
>  (Typo3 >= 4.1.4)
> 
> Problem:
> Editors ("no admins") can?t undelete records in history
> 
> Solution:
> Since t3lib_TCEmain=>undeleteRecord uses t3lib_TCEmain=>deleteRecord
> and there's a check if the editor has access to this record, we need
> to extend this check if we want to undelete (if the check also
> should cover deleted records).
> 
> Notes:
> I'm not a "TYPO3 internal" expert. Maybe my solution is not the
> best. The bug seems to exist since v4.1.4 (dec 2007). I wonder why
> so few people noticed this - either no editor deletes without being
> sure or (s)he does not know about undelete or all editors are
> admins. I also had a quick look at the files in v 4.3.0 alpha3 and
> it does not seem to have changed.
> 
> I also wrote some comments in the Bugtracker about other
> solutions...
> 
> 
> Thanx
> 
> Christian



More information about the TYPO3-team-core mailing list