[MERGE][REF] survey: update ACLs and refactor invite wizard
Purpose of this merge is to refactor, clarify and fix surveys access rights and rules. Indeed currently surveys access rights and rules are not very clear. This application is currently used mainly for external and public surveys. In this merge we clean access on survey models. Basically only surveys officers and managers have access to the models. Other people including employees, portal users and anonymous people users have to use the portal view and dedicated routes instead of accessing data through the backend. In this merge we also expand the access options of surveys. Surveys can be public, limited to authenticated people, limited to employees or on invitation only. Invite wizard has been redone to simplify it and better support those options. For more details about the content please have a look at each subcommits. This merge is linked to task ID 1911586 and PR #28986.
No related branches found
No related tags found
Showing
- addons/hr_recruitment_survey/__manifest__.py 1 addition, 1 deletionaddons/hr_recruitment_survey/__manifest__.py
- addons/hr_recruitment_survey/data/survey_demo.xml 2 additions, 1 deletionaddons/hr_recruitment_survey/data/survey_demo.xml
- addons/hr_recruitment_survey/models/__init__.py 2 additions, 0 deletionsaddons/hr_recruitment_survey/models/__init__.py
- addons/hr_recruitment_survey/models/hr_applicant.py 1 addition, 1 deletionaddons/hr_recruitment_survey/models/hr_applicant.py
- addons/hr_recruitment_survey/models/hr_job.py 1 addition, 0 deletionsaddons/hr_recruitment_survey/models/hr_job.py
- addons/hr_recruitment_survey/models/survey_survey.py 9 additions, 0 deletionsaddons/hr_recruitment_survey/models/survey_survey.py
- addons/hr_recruitment_survey/security/ir.model.access.csv 0 additions, 2 deletionsaddons/hr_recruitment_survey/security/ir.model.access.csv
- addons/hr_recruitment_survey/views/hr_job_views.xml 4 additions, 3 deletionsaddons/hr_recruitment_survey/views/hr_job_views.xml
- addons/hr_recruitment_survey/views/survey_survey_views.xml 13 additions, 0 deletionsaddons/hr_recruitment_survey/views/survey_survey_views.xml
- addons/survey/__manifest__.py 5 additions, 1 deletionaddons/survey/__manifest__.py
- addons/survey/controllers/main.py 222 additions, 160 deletionsaddons/survey/controllers/main.py
- addons/survey/data/mail_template_data.xml 8 additions, 7 deletionsaddons/survey/data/mail_template_data.xml
- addons/survey/data/survey_demo_feedback.xml 2 additions, 2 deletionsaddons/survey/data/survey_demo_feedback.xml
- addons/survey/models/survey_page.py 2 additions, 10 deletionsaddons/survey/models/survey_page.py
- addons/survey/models/survey_question.py 42 additions, 57 deletionsaddons/survey/models/survey_question.py
- addons/survey/models/survey_stage.py 0 additions, 2 deletionsaddons/survey/models/survey_stage.py
- addons/survey/models/survey_survey.py 97 additions, 41 deletionsaddons/survey/models/survey_survey.py
- addons/survey/models/survey_user.py 32 additions, 44 deletionsaddons/survey/models/survey_user.py
- addons/survey/security/ir.model.access.csv 28 additions, 21 deletionsaddons/survey/security/ir.model.access.csv
- addons/survey/security/survey_security.xml 190 additions, 38 deletionsaddons/survey/security/survey_security.xml
Loading
Please register or sign in to comment