diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-04-25 15:01:12 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2016-06-14 09:46:24 +0200 |
| commit | 089fd3f145cfa8edc7ca3732ac0a6af105162de0 (patch) | |
| tree | c0f313f717083e7b9a109f1e9c6a5d1bdf3ecc3c /addons/web_editor/models | |
| parent | 0ebf073cdb50218d42ed5c95cb7b0d41e3591670 (diff) | |
[IMP] base: user_has_groups can express negative groups with "!"
Allow access if the user has at least one group, and has no one !group
E.g.: groups="a,!b,c,d,!e"
(a, c, b) prevent access
(c) allow access
So the negative groups have precedence.
Diffstat (limited to 'addons/web_editor/models')
0 files changed, 0 insertions, 0 deletions
