Hi,

I want to  use @auth.requires_signature() on inner function (which is
defined inside controller function), but this doesn't work.

I imagine 2 solutions:
1)  use  "has" alternative for signature decorator (but didn't notice it --
maybe too lazy to search :/ )

2)  join decorators -- but also doesn't work

@auth.requires_permission('list', 'user')
@auth.requires_signature()
def users():


-- 
Jurgis Pralgauskis
tel: 8-616 77613;
Don't worry, be happy and make things better ;)
http://galvosukykla.lt

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to