8000 Revert "fix: query report read permission issue (backport #32539)" by iamejaaz · Pull Request #32870 · frappe/frappe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Revert "fix: query report read permission issue (backport #32539)" #32870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions frappe/desk/query_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,13 +708,6 @@ def has_match(

# each doctype could have multiple conflicting user permission doctypes, hence using OR
# so that even if one of the sets allows a match, it is true

if match:
if not frappe.has_permission(
doctype=ref_doctype, ptype="read", throw=False, ignore_share_permissions=True
):
match = False

matched_for_doctype = matched_for_doctype or match

if matched_for_doctype:
Expand Down
Loading
0