[TYPO3-core] RFC: #485: Hookrequest for ~ TemplaVoila unlink doesn't work for Non-Admins
Tolleiv.Nietsch
info at tolleiv.de
Thu Mar 25 21:17:03 CET 2010
This is an SVN patch request.
Type: Feature / Hook-Request
Bugtracker references:
http://bugs.typo3.org/view.php?id=485
Branches:
trunk
Problem:
TCEmain uses checkRecordUpdateAccess() on a per-record basis to
determine whether a user has access or not. In certain cases - (e.g.
when editing the pages.tx_templavoila_flex field) that's a bit to
restrictive.
Solution:
The attached patch (initially proposed by Bernhard Kraft) addes a hook
to checkRecordUpdateAccess() and adds some optional field to enable that
the called hook-functions have additional data available for their
access-decision.
Additional information:
Having this could help to close lot's of templavoila bugs where admins
complain that users without "Edit page" right can't
create/unlink/move/... content.
In addition to templavoila - this patch is also relevant for the
"languagevisibility" extension.
Cheers,
Tolleiv
--
Tolleiv Nietsch
www.tolleiv.de - www.aoemedia.de
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0000485.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100325/4a39be4d/attachment-0001.txt>
More information about the TYPO3-team-core
mailing list