[FLOW3-general] Modify role dependent Access Denied message
Bernhard Fischer
bernhard at fischli.org
Wed Oct 26 10:48:48 CEST 2011
>> Hi all,
>>
>> i always get the expressionless "Access Denied!" message if a method,
>> based on it's role, will be denied. What's the right way to inject a
>> customized view to inform the already logged in user, that he does not
>> have enough rights to use this method or action?
>>
>> Anyone out there to make a proposal?
>>
>> Bernhard
>
> I would try to add an aspect around
> \TYPO3\FLOW3\Security\Aspect\setAccessDeniedResponseHeader->setAccessDeniedResponseHeader
>
I also had the awful feeling that this might be the proper way. I will
have a closer look on AOP.
More information about the FLOW3-general
mailing list