[TYPO3-core] RFC: Bug #15189: Frontend Editing edit panels are shown for content element types that cannot be edited
Jeff Segars
jsegars at alumni.rice.edu
Wed Jul 21 21:09:24 CEST 2010
Hey guys,
This is a SVN patch request.
Type: Bugfix
Bugtracker reference: http://bugs.typo3.org/view.php?id=[Number]
Branch: trunk, 4.4, 4.3
Problem:
In frontend editing (both feedit and feeditadvanced), the only check on
content editing permissions is whether content elements in general can
be edited on the current page or not. This means that a particular
content element type may be restricted in the user or group record, but
still show editing icons in frontend editing. When the record is clicked
to edit, an error message is generated.
Solution:
Calling $GLOBALS['BE_USER']->recordEditAccessInternals() will tell us if
the specific record is truly editable.
This does change a user-visible behavior for 4.3 and 4.4 but its clearly
a bug so I would like to apply the fix to those branches also.
How To Test:
* Using feedit or feeditadvanced, set up a backend user where not all
content elements types are allowed.
* Verify that the editing icons still appear, but opening the editing
form does not work
* Apply Patch
* Notice the missing editing icons
Thanks,
Jeff
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15189-whitespace.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100721/81e45539/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15189.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100721/81e45539/attachment.asc>
More information about the TYPO3-team-core
mailing list