mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +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")
|
||||
|
||||
ignore_permissions = False
|
||||
if is_website_user():
|
||||
if is_website_user() and user != "Guest":
|
||||
if not filters:
|
||||
filters = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user