[18.0][FIX] queue_job: Remove deprecated @api.private decorator#815
[18.0][FIX] queue_job: Remove deprecated @api.private decorator#815bosd wants to merge 2 commits into
Conversation
|
Hi @guewen, |
There was a problem hiding this comment.
It has been added here https://github.com/OCA/queue/pull/802/files#diff-52052ee7edd7df6a68c13f1c6f9667c1556c7c08b0a8e91de76dcd7b2d604439R238 as a replacement for the sentinel protection.
Removing the decorator would be a security hole as we would be able to create jobs with a crafted payload executing any method executed by any user, using RPC.
Also, I do not see any mention of @api.private being deprecated, actually, it has been added on master and backported in Odoo 18.0 and other supported versions, so I'm curious if you have any source for that?
|
Before this fix, install of this module fails: |
|
Per #806
|
|
Is your odoo core code up-to-date? |
|
I am on 18.0+E
I am on 18.0+E |
|
It ok now! Thanks. Sorry for opening this. Didn't find the old issues b/c they where already closed . |
No description provided.