Massimo,
Could you please elaborate a bit further?  Is this restriction
something peculiar to auth.requires_login?  or service.jsonrpc?  or
both? Or is it something that applies to any use of multiple
decorators in web2py?
Thanks,
Mike

On May 7, 10:32 am, mdipierro <[email protected]> wrote:
> You cannot do this:
>
> @auth.requires_login()
> @service.jsonrpc
> def add_team(name, cap):
>     #function uses auth.user.id
>

Reply via email to