I've just encountered the same problem, I am just wondering either if you have fixed it somewhere or if the mentioned lazy_auth has been implemented.
Paolo On Thursday, September 26, 2013 6:27:19 AM UTC+2, Massimo Di Pierro wrote: > > You may want to look at the lazy_cache decorator in gluon/cache.py. I > think we need something like that for Auth. > > On Wednesday, 25 September 2013 22:45:46 UTC-5, Mandar Vaze wrote: >> >> >> On Wed, Sep 25, 2013 at 7:53 PM, Massimo Di Pierro <[email protected] >> > wrote: >> >>> Let me clarify. You currently can pass auth to functions in modules and >>> they can call auth methods. It is the decorators that would cause problems. >>> >> >> Understood - in fact this is what we are doing right now (pass auth >> object to functions in modules) so in a way we aren't "blocked" >> Just that decorators are "nice" :) >> >> -Mandar >> > -- 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/groups/opt_out.

