mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 19:24:21 +00:00
fix: Short circuit guest perm checks
This commit is contained in:
@@ -158,7 +158,7 @@ def get_issue_list(doctype, txt, filters, limit_start, limit_page_length=20, ord
|
|||||||
customer = contact_doc.get_link_for("Customer")
|
customer = contact_doc.get_link_for("Customer")
|
||||||
|
|
||||||
ignore_permissions = False
|
ignore_permissions = False
|
||||||
if is_website_user():
|
if is_website_user() and user != "Guest":
|
||||||
if not filters:
|
if not filters:
|
||||||
filters = {}
|
filters = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user