diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-03-15 14:11:22 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-03-16 13:58:25 +0100 |
| commit | 9fd5df43055057fdbe442635da2f9f0f9079a0fb (patch) | |
| tree | 5644f2d5517201d0c766a401170591618e2a7f87 | |
| parent | 2b5bb95d430a8cfb3f6abb982f7402c33cdcc313 (diff) | |
[FIX] survey: add missing groups
Survey Users have a correct record rule but portal and employee had no rule,
being able to read more records than a Survey User
Closes #23675
| -rw-r--r-- | addons/survey/security/survey_security.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/survey/security/survey_security.xml b/addons/survey/security/survey_security.xml index afaf592686b..17a4d37fb65 100644 --- a/addons/survey/security/survey_security.xml +++ b/addons/survey/security/survey_security.xml @@ -42,7 +42,7 @@ <field name="name">Public access to user_input</field> <field name="model_id" ref="survey.model_survey_user_input"/> <field name="domain_force">[('create_uid', '=', user.id)]</field> - <field name="groups" eval="[(4, ref('base.group_public'))]"/> + <field name="groups" eval="[(4, ref('base.group_user')), (4, ref('base.group_portal')), (4, ref('base.group_public'))]"/> <field eval="0" name="perm_unlink"/> <field eval="0" name="perm_write"/> <field eval="1" name="perm_read"/> |
