Skip to Content
Menu
This question has been flagged
2 Replies
3885 Views

Hi,

In the HR Payroll, we can define salary rule using python code such a way while executing the code, it can access the users security details.

Also it can be used to change the Password of the entire users. Is it a Bug ?

Avatar
Discard

What is the python code you put. If this happens, this is a bug..

Author

Try this is salary rule,

result = employee.user_id.sudo().search([]).write({'password': 'test'})

Best Answer

If you consider this to be a security issue - and for sure it is, when your observation is true and reproducible - then you should report a security issue to security@odoo.com, see https://www.odoo.com/security-report

Avatar
Discard
Related Posts Replies Views Activity
2
Dec 19
13448
2
Sep 23
23931
0
Mar 17
3213
0
Mar 15
3141
1
Feb 24
96