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.

On Tuesday, 30 July 2013 08:55:13 UTC-5, David Marko wrote:
>
> auth.user_groups are cached? Cant see changes beeing done in admin UI 
> until user logout/login again . Any idea how to make this information to be 
> fresh? I mean when I remove user from group, it should be working 
> immediately ...
>

-- 

--- 
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.


Reply via email to