diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-01-24 10:19:09 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-01-25 13:11:50 +0000 |
| commit | c801eecf23035d1b53eccc15ec29e6be970e3579 (patch) | |
| tree | ea68c038b7f7ba392717db3cc0840394a2be7001 /addons/web/static/src/xml/menu.xml | |
| parent | 970cb47f57c1c3216fc1cb9853c9a5539fb36fc8 (diff) | |
[IMP] survey: access survey through access tokens
Purpose of this commit is to use an access token to access survey instead
of their ID. Routes are updated to use that token instead of the survey ID.
Purpose is to have less discoverable routes and be able to control a bit more
survey access even if it is not really a security parameter.
Some renaming is performed to avoid confusion in terms. Survey token and
answer token are now clearly labeled differently in the code to know which
model we are working on.
Some templates are updated to directly use the answer as base record to
have access to token and test_entry fields instead of giving those parameter
values directly in the controller. It makes some more diff but also allow
easier edition and improvement in templates when having directly survey
and answer record available.
This commit is linked to task ID 1932508 and PR #30508.
Diffstat (limited to 'addons/web/static/src/xml/menu.xml')
0 files changed, 0 insertions, 0 deletions
