diff options
| author | Aaron Bohy <aab@odoo.com> | 2018-09-13 14:03:59 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2018-09-18 20:31:28 +0200 |
| commit | 66c716d7816da615d4c1e15defa6501a14357b38 (patch) | |
| tree | 48fd88fd333a7b5d334af9be3fb5b824e94fbc69 /doc/reference/javascript_reference.rst | |
| parent | 952889c0561ae632360569163424791873eb82f7 (diff) | |
[FIX] *: adapt calls to _is_superuser
Rev. 2f7c03d added a second admin user (id 2), the 'human' one, on
top of the 'technical' one (id 1, also known as the superuser).
Basically, all calls to _is_superuser() should have been changed to
_is_admin(). They weren't. As a consequence, some features that
were previously available for the admin weren't anymore (e.g.
tours).
This rev. replaces all calls to _is_superuser() by calls to
_is_admin().
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
