auth.has_membership returns true when passed a non_existent group role. This code snippet:
q = db.auth_group.role.contains('fubar')
print len(db(q).select())
print auth.has_membership('fubar')
Returns this in the console:
0
True
--
---
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.

