mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-19 09:28:46 +00:00
fix(lead): added missing read permission check on get_lead_details (#56272)
This commit is contained in:
@@ -330,6 +330,7 @@ def get_lead_details(
|
||||
out = frappe._dict()
|
||||
|
||||
lead_doc = frappe.get_doc("Lead", lead)
|
||||
lead_doc.check_permission()
|
||||
lead = lead_doc
|
||||
|
||||
out.update(
|
||||
|
||||
Reference in New Issue
Block a user