On Tuesday, July 30, 2013 10:49:29 AM UTC-4, Massimo Di Pierro wrote:

> Yes they are cached. You can call
>
> auth.update_groups() 
>
> at every request to make sure the groups are updated but this is a lot of 
> extra DB IO.
>

Maybe use the DAL table callbacks to call auth.update_groups() only when 
the membership table is updated (or call it in whatever action you use to 
make the updates).

Anthony

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to