fix(lead): added missing read permission check on get_lead_details (#56272)

This commit is contained in:
Diptanil Saha
2026-06-22 03:16:53 +05:30
committed by GitHub
parent 8fef286327
commit c188ed59ec

View File

@@ -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(