rect. Or call: auth.update_groups()
On Thursday, 6 March 2014 11:10:32 UTC-6, Niphlod wrote: > > Seem to recall that groups are only added to session at the login time > (i.e. if you login, then add membership, you won't find them in session). > Did you try to logout and login ? > > On Thursday, March 6, 2014 10:30:16 AM UTC+1, Johann Spies wrote: >> >> What can cause session on my server to not recognise my membership of >> groups? >> >> auth: >> expiration: >> 2592000 >> hmac_key : >> c1f0ee87-9945-43b2-8653-88df476a88df >> last_visit: >> datetime.datetime(2014, 3, 3, 11, 58, 9, 804045) >> remember: >> True >> user : >> created_on: >> None >> email : >> [email protected] >> first_name: >> Johann >> id: >> 2L >> last_name : >> Spies >> modified_on: >> datetime.datetime(2013, 5, 9, 8, 7, 47) >> registration_id: >> 1234 >> registration_key: >> reset_password_key: >> username: >> johann.spies >> user_groups: >> >> >> >> while auth_membership shows: >> >> auth_membership.id<https://crest2.sun.ac.za/nkb/appadmin/select/db?orderby=auth_membership.id> >> auth_membership.user_id<https://crest2.sun.ac.za/nkb/appadmin/select/db?orderby=auth_membership.user_id> >> >> auth_membership.group_id<https://crest2.sun.ac.za/nkb/appadmin/select/db?orderby=auth_membership.group_id> >> >> >> >> >> >> >> >> >> 7 <https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_membership/7> >> johann.spies<https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_user/2> >> kb_ed >> (1) <https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_group/1> >> >> >> >> >> >> 10 <https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_membership/10> >> johann.spies<https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_user/2>managers >> >> (4) <https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_group/4> >> 12<https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_membership/12> >> johann.spies<https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_user/2>wiki_editor >> >> (6) <https://crest2.sun.ac.za/nkb/appadmin/update/db/auth_group/6> >> >> >> On my develop computer there is no similar problem. >> >> >> Regards >> Johann >> -- >> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

