[TYPO3-core] RFC: Bug #15189: Frontend Editing edit panels are shown for content element types that cannot be edited

Sven Juergens t3 at blue-side.de
Wed Aug 4 16:57:36 CEST 2010


Am 21.07.10 21:09, schrieb Jeff Segars:
> 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
>
>

+1 reading and testing

Best Regards
Sven


More information about the TYPO3-team-core mailing list