Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4877 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
[8] How to inherit or delete rule แก้ไขแล้ว
2
ธ.ค. 19
15159
How to increase the security of Odoo ? แก้ไขแล้ว
2
ก.ย. 23
26468
0
มี.ค. 17
4187
0
มี.ค. 15
4111
1
ก.พ. 24
96