On Feb 24, 2011, at 11:48 AM, Manu wrote: > > I would like to have some hints about building a small app where i > have two types of users ( different roles ). The first role can only > post task requests and see the accepted request . The second role can > receive tasks and accepts them. Do you recomend me to create two > controllers ( one for each role ) and dispatch to the right type of > users when the user log in .
That's certainly one way to do it, though you don't really need different controllers; different functions in the same controller (perhaps 'default') would be fine. Use web2py's groups to assign users to roles, and decorate the functions accordingly.

