fix: Remove backend permission check from link validation
This commit is contained in:
parent
d505e277d4
commit
5fd295b8f2
1 changed files with 0 additions and 4 deletions
|
|
@ -991,10 +991,6 @@ class BaseDocument:
|
|||
):
|
||||
cancelled_links.append((df.fieldname, docname, get_msg(df, docname)))
|
||||
|
||||
elif values.name and not df.get("ignore_user_permissions"):
|
||||
if not frappe.has_permission(doctype, "read", doc=values.name):
|
||||
invalid_links.append((df.fieldname, docname, get_msg(df, docname)))
|
||||
|
||||
return invalid_links, cancelled_links
|
||||
|
||||
def set_fetch_from_value(self, doctype, df, values):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue