create_assignment_for_multiple_employees() in leave_policy_assignment is a whitelisted function, and should have some permissions checks on them.
I don't think this can be escalated to anything beyond 'annoying' behaviour and confirming that certain Employees exist, otherwise I would have reported this through the normal security route.
Module
HR
Version
Current Develop branch
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Information about bug
https://github.com/frappe/hrms/blob/9ec2d108ef06f447aa6dd4dc3735d9b9521beb25/hrms/hr/doctype/leave_policy_assignment/leave_policy_assignment.py#L262
create_assignment_for_multiple_employees() in leave_policy_assignment is a whitelisted function, and should have some permissions checks on them.
I don't think this can be escalated to anything beyond 'annoying' behaviour and confirming that certain Employees exist, otherwise I would have reported this through the normal security route.
Module
HR
Version
Current Develop branch
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct