Have you looked at the web2py authorization functionality: http://web2py.com/book/default/chapter/08#Authorization I would think you could just create two authorization roles and then just user decorators to control access to particular actions. E.g.: @auth.requires_membership('task_acceptors') def accept_task(): [code for task acceptance] Anthony
On Thursday, February 24, 2011 2:48:43 PM UTC-5, Swell wrote: > > Hi > 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 . > > Thx for your advice. >

