New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] survey: Don't disclose the survey via print. #30166
[FIX] survey: Don't disclose the survey via print. #30166
Conversation
The CLA of Larisa was signed in a previous PR #29737, but that has not been merged yet. |
598e8fc
to
7deb219
Compare
Hi, It looks good to me but just to be sure, @rim-odoo do you agree too? |
Hi again, Sorry but actually, your patch introduces a change of behaviour (which should not happen in a stable version), you could no longer print a closed survey. Instead, we could only check if the survey has |
Hi @mart-e I propose to add a 'allow_closed' argument to the method Is that acceptable? |
7deb219
to
bf165d3
Compare
Sorry I didn't realized you forced a push before. I will rebase onto 10.0. |
bf165d3
to
88031c8
Compare
We try not to change the signatures of methods in stable versions. We know the survey module is not the best and we plan to refactor it in the future but in 10.0, we try to keep the changes to the minimal (it is an end of life version). |
4001148
to
a397fcd
Compare
Ok. Changed. |
To avoid bigger changes, only verify if the login is required. A proper refactoring has been implemented in master at 9771fdf
a397fcd
to
da74758
Compare
Thanks for the update ! robodoo r+ |
Staging failed: ci/runbot on a774b02dbe4d07ed8b1d1210e9acf025c9dc241f (view more at http://runbot.odoo.com/runbot/build/428749) |
robodoo retry |
Staging failed: ci/runbot on d355ccc202296b532ba128859785487acc11e1a2 (view more at http://runbot.odoo.com/runbot/build/428810) |
The contents of a survey could be disclosed through the print method. This PR fix this issue.
I read the Responsible Disclosure of Odoo Security Vulnerabilities document, and I found this issue not be worthy of the process described there.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr