[TYPO3-mvc] Set priviliges

Sebastian Fischer sf at marketing-factory.de
Mon Feb 7 09:43:20 CET 2011


On 06.02.2011 23:28, Dawid Pacholczyk wrote:
> Hello List,
> I`m wondering how to set some priviliges ?
>
> For example I would like to enable edit or add action only for logged
> users or for users from some usergroup ?
>
> I can set a bool flag in controller and pass it to fluid. But when user
> will invoke the url with action name manualy he will be able to add new
> record. How can I block it ?
>
> Best regards,
> Dawid Pacholczyk

Hi Dawid,

well after all the user needs to submit the form to any valid action. 
This action then inserts the object into a matching repository. And 
thats where you could intervene by checking the user rights bevor adding.

Greetings
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list