[TYPO3-mvc] Annotation for restricted actions
Michael Knoll
mimi at kaktusteam.de
Wed Dec 30 23:32:34 CET 2009
Hi Jochen,
thanks for your answer. Your proposal is just what I implemented, so I
think I'm on the right way :-) Just wanted to know, whether I'm doing
something useless again :-)
Greetings
Michael
Jochen Rau schrieb:
> 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
>
>
More information about the TYPO3-project-typo3v4mvc
mailing list