Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4790 Переглядів

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 Відповіді Переглядів Дія
2
груд. 19
15113
2
вер. 23
26354
0
бер. 17
4120
0
бер. 15
4039
1
лют. 24
96