Skip to content
Snippets Groups Projects
Commit 68777c58 authored by Raphael Collet's avatar Raphael Collet
Browse files

[IMP] models: inherited fields are related fields read as the current user

Add an attribute 'related_sudo' (True by default) for related fields.
A related field is computed as superuser if related_sudo is True.

Add explicit related fields 'name' and 'email' on 'res.users', as these should
be readable by the public user with module website_forum.
parent d6f375df
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment