[TYPO3-mvc] Feature: automatic target page determination
Ernesto Baschny [cron IT]
ernst at cron-it.de
Thu Aug 5 10:10:33 CEST 2010
Bastian Waidelich schrieb am 05.08.2010 09:59:
> Ernesto Baschny [cron IT] wrote:
>
> Hi Ernesto,
>
>> better use enableFields (also considers start/endtime/permissions):
>
> enableFields - makes sense, thanks ;)
> Regarding start/endtime/access restrictions and multi page setup:
> I skipped those conditions intentionally, because I considered that
> being to intransparent.
> Imagine you add a details view in a non-restricted and another one in a
> restricted area of your page.
> Instead of automatically switching the target page based on the logged
> in user, I'd rather throw an exception to show the user that he has
> multiple plugins handling the target action and that he has to specify
> the target page explicitly (in the template or via TS).
>
> Do you agree?
Not really. If the user put the access restrictions on the "detail view
plugin", there must be a valid reason to do so. Don't link to a content
which the user doesn't have access to.
Cheers,
Ernesto
More information about the TYPO3-project-typo3v4mvc
mailing list