unfortunately I can't replicate the issue. The strange thing is that if the session gets loaded, so **should** groups attached to it (because update_groups() is called WITHIN login_bare()). Without any replicable scenario, can you just try to add a few debug lines on gluon/tools.py within update_groups() to see what's going on ?
On Monday, March 10, 2014 7:35:57 AM UTC+1, Johann Spies wrote: > > As an experiment I deleted the membership to the group 'managers' and > also the group 'managers' and recreated both. > > I also put auth.update_groups() in the model file db.py > > To make double sure I logged out and in again. > > Still the session shows no groups. > > Regards > Johann > > > > On 10 March 2014 08:25, Johann Spies <johann...@gmail.com <javascript:>>wrote: > >> Niphlod and Massimo, >> >> Thanks for you replies. >> >> However the problem is not that the groups or membership were added >> during the session. >> >> This is a long standing database and at one stage (unfortunately I cannot >> point to the exact time) this behaviour started. >> >> auth.update_groups() makes no difference. >> >> >> Regards >> Johann >> >> -- >> Because experiencing your loyal love is better than life itself, >> my lips will praise you. (Psalm 63:3) >> > > > > -- > Because experiencing your loyal love is better than life itself, > my lips will praise you. (Psalm 63:3) > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.