[TYPO3-mvc] Annotation for restricted actions
Jochen Rau
jochen.rau at typoplanet.de
Wed Dec 30 22:53:44 CET 2009
Hi Michael.
schrieb Michael Knoll:
> Hi list (again),
>
> since I missed writing the right annotation above my function in my last
> post, I wanted to ask, whether there is a annotation for restricting
> access to certain actions
IMO an annotation isn't suitable for this purpose as it is relatively
static.
> What I want to do is writing actions that require an admin fe group.
> Only users belonging to this group should gain access to this action. Of
> course, I can write a check in each action, but I hoped, there would be
> an easier way.
Access checks currently have to be implemented by the extension
developer. But you can extend from an own BaseController which
implements the common logic.
Regards
Jochen
--
Every nit picked is a bug fixed
More information about the TYPO3-project-typo3v4mvc
mailing list