跳至内容
菜单
此问题已终结
2 回复
4863 查看

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 ?

形象
丢弃

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

编写者

Try this is salary rule,

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

最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
2
12月 19
15143
2
9月 23
26420
0
3月 17
4164
0
3月 15
4074
1
2月 24
96