diff options
| author | Julien Castiaux <juc@odoo.com> | 2019-07-08 11:30:19 +0000 |
|---|---|---|
| committer | Julien Castiaux <juc@odoo.com> | 2019-07-08 11:30:19 +0000 |
| commit | 5c705c51cd8377b1c6e1bb2513db34afe48189ee (patch) | |
| tree | 248f190d384cbebcd61071af1286a500024757ab /addons/web/static/src | |
| parent | 8c839ac1e0a1ca106a2fdcdb2300d66573552870 (diff) | |
[FIX] website_profile: bypass IR Rules on karma ranking
Install website_slides, create a bunch of users all published on the
website. Using raw sql queries, give some karma to those users. Go to
the `/profile/users` web page. When connected the ranking is correctly
shown, when not connected all users are ranked 0.
The problem is that the public user (id: 4) can only access is own user
which prevent him to access the karma of the other user required to rank
them.
As the injected IR Rules are not adding any value and that a domain is
applied already, it is safe to skip the ir rules.
opw-2029105
closes odoo/odoo#34656
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
