-
-
Notifications
You must be signed in to change notification settings - Fork 311
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] edi_webservice_oca: add internal user webservice backend read a… #809
[FIX] edi_webservice_oca: add internal user webservice backend read a… #809
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TBH I don't like this. It makes too easy to spoil sensitive data.
I'd rather use sudo in webservice adapters only to read what's needed.
26e42f6
to
376f211
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last change if you don't mind... Plus, please squash when done and we are ready to merge 👍
bf7387f
to
4df67d0
Compare
/ocabot merge patch |
On my way to merge this fine PR! |
@simahawk your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-809-by-simahawk-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
This PR has the |
4df67d0
to
370ad00
Compare
@simahawk I've just rebase this branch, every things looks okay ! not sure why oca-git-bot failed at some point (I've deep into) |
queue.job task are running in the context with the user that create the edi exchage record as those user are able to create exchange they should be able to read webservice backend while sending data in order to etablish the connexion to send payloads to the related webserivce. We don't want to give explicit read access using access model record to avoid user to retreives third party service credentials. Co-authored-by: Simone Orsi <[email protected]>
370ad00
to
f01bde0
Compare
I've just rebase this branch, all CI seems ok, @simahawk could you re-try to merge this one ? |
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 629125c. Thanks a lot for contributing to OCA. ❤️ |
…ccess
queue.job task are running in the context with the user that create the edi exchage record as those user are able to create exchange they should be able to read webservice backend in order to etablish the connexion to send payloads to the related webserivce