[FLOW3-general] How to secure a controller?
Bastian Waidelich
bastian at typo3.org
Tue Jan 15 14:01:32 CET 2013
Qbus | Axel Wüstemann wrote:
Hey,
>> 'method(Your\Package\Controller\(Foo|Bar)Controller->(?<!initialize).*Action())'
> What is "Foo|Bar" in this case? Is that a additional rule? Sorry, but
> I'm a bit confused now ;=)
This expands to:
All methods in \Your\Package\Controller\FooController *or*
\Your\Package\Controller\BarController that end on *Action* and don't
start with *initialize*.
--
Bastian Waidelich
--
Core Developer Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the Flow
mailing list