[FLOW3-general] Modify role dependent Access Denied message
Peter Russ
peter.russ at 4many.net
Wed Oct 26 23:20:12 CEST 2011
--- Original Nachricht ---
Absender: Bernhard Fischer
Datum: 26.10.2011 10:48:
>>> 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.
awful? AOP is the right way to go!
--
Fiat lux! Docendo discimus.
_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ
More information about the FLOW3-general
mailing list