[IMP] use sets to check for groups/ACL
authorXavier Morel <xmo@openerp.com>
Tue, 27 May 2014 09:33:12 +0000 (11:33 +0200)
committerXavier Morel <xmo@openerp.com>
Tue, 27 May 2014 09:57:05 +0000 (11:57 +0200)
commitb5cce44dd2f8e5ea4a6b51ad93fb748ac25a2084
tree22c5aa820067c85b4b90729d365d9dc750c321a3
parent4e3864c1fbacefff6c2c277d01b73f5f581a733d
[IMP] use sets to check for groups/ACL

rco notes that group tests are generally intersections, if the user has *any*
group set on the object he can see/use it. This change is a literal
translation of the original semantics, which may be wrong.
addons/website/controllers/main.py