Open eikhr opened 8 months ago
We claim that survey submissions are anonymous. They are not. We save the user corresponding to each submission, and even send the user and responses together in the "surveys/id/submissions" API-route.
Turns out this breaks the survey submission page. It uses the user-field to find your own submission
Turns out this breaks the survey submission page. It uses the user-field to find your own submission
How about leaving it as null unless it's your submission, doing the finding in the backend instead?
I agree with @jonasdeluna
It would be nice to separate this so that we can finally make /surveys a non-admin page. This has been requested by many people
The surveys are supposedly anonymous, they are not when the user field is sent with the submission
TODO: [ ] Test that nothing breaks in lego-webapp
Resolves ABA-273