Re: [web2py] Membership no longer respected.

2013-11-05 Thread Johann Spies
On 4 November 2013 16:47, Richard Vézina wrote: > What the "if 'auth' in globals():" for?? > > If you have it to make sure user it logged you can use the and/or tricks : > > if auth.user and auth.has_membership('managers'): > > Yes, that is a better way of doing it. My configuration worked for ab

Re: [web2py] Membership no longer respected.

2013-11-04 Thread Richard Vézina
What the "if 'auth' in globals():" for?? If you have it to make sure user it logged you can use the and/or tricks : if auth.user and auth.has_membership('managers'): If you remove it what happen? Richard On Mon, Nov 4, 2013 at 8:18 AM, Johann Spies wrote: > The following configuration sto

[web2py] Membership no longer respected.

2013-11-04 Thread Johann Spies
The following configuration stopped working (I suspect with the upgrade to 2.7.4): I have this in auth_membership: 10 johann.spies managers (4)