[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
This commit is contained in:
Martin Trigaux
2018-03-16 13:58:25 +01:00
parent 2b5bb95d43
commit 9fd5df4305
+1 -1
View File
@@ -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"/>