fix: don't add fallback for child table (#24105)
This commit is contained in:
parent
cc9679ac76
commit
04acd0bda4
1 changed files with 0 additions and 3 deletions
|
|
@ -163,9 +163,6 @@ def get_doc_permissions(doc, user=None, ptype=None):
|
|||
if not user:
|
||||
user = frappe.session.user
|
||||
|
||||
if frappe.is_table(doc.doctype):
|
||||
return {"read": 1, "write": 1}
|
||||
|
||||
meta = frappe.get_meta(doc.doctype)
|
||||
|
||||
def is_user_owner():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue