diff options
| author | Olivier Dony <odo@openerp.com> | 2016-11-22 11:07:12 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2016-11-22 11:17:24 +0100 |
| commit | 65e9a8260d276ac5f4312397b487b7f62f66cdd0 (patch) | |
| tree | b895c61ae31faab06df8852d48660bd954601ea9 /doc/reference/workflow/split.dot | |
| parent | 27d814cb311d65b9247da06a4c335222e95a6139 (diff) | |
[FIX] res_users: always compute pseudo-fields in fields_get()
Revision a93ef48a7072f62e4b9dd728d54ddad901c92db4 stopped computing
the pseudo-fields for user groups when the user was not an admin.
This was a workaround to let portal users acces the preferences
menu without having read access to res.groups.
This fix is no longer necessary as the groups are now computed
in super-user mode. In addition, it creates an inconsistency
in the behavior of fields_get(). For instance there may be
cases where non-admin users are granted access to the regular
form view of res.users, and this would crash because the
view contains fields that would not be returned by `fields_get`.
The performance impact should also be negligible, given the
limited number of user groups in most databases.
Diffstat (limited to 'doc/reference/workflow/split.dot')
0 files changed, 0 insertions, 0 deletions
