diff options
| author | Olivier Dony <odo@openerp.com> | 2015-04-07 13:32:50 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2015-04-10 18:23:32 +0200 |
| commit | 1ffa4d26d5bf3eddf5c83102456ff3f166daf71d (patch) | |
| tree | fcc9f919c8c3b0fb4a8dc28c4315d87df7a18144 /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | aa25670c6934679902caa027a1aea00cd049d7bb (diff) | |
[FIX] forum: restore superuser bypass in per-post karma check
During conversion to new API[1] the superuser bypass
was dropped in the computation of karma-based
permissions on forum posts.
The check still needs to be bypassed to avoid
blocking sudo() mode when the admin account
has a low karma.
sudo() mode is used for various actions done
by the system on behalf of the forum users,
and should not fail because the admin has less
karma than the user herself.
[1] See rev. 893d7fa8643192aec817478effa44c55d3c1ebc4
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
