From 3a3aa66331712df0a85a3607b0f061f2147a9841 Mon Sep 17 00:00:00 2001 From: Tyler Matteson Date: Tue, 24 Feb 2026 14:32:43 -0500 Subject: [PATCH] fix: remove orphaned has_permissions --- .pre-commit-config.yaml | 2 +- cloud_storage/hooks.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a4355d..9db6eef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: additional_dependencies: ['flake8-bugbear'] - repo: https://github.com/agritheory/test_utils - rev: v1.18.0 + rev: v1.19.0 hooks: - id: update_pre_commit_config - id: validate_frappe_project diff --git a/cloud_storage/hooks.py b/cloud_storage/hooks.py index f85b450..8431396 100644 --- a/cloud_storage/hooks.py +++ b/cloud_storage/hooks.py @@ -89,9 +89,9 @@ # "Event": "frappe.desk.doctype.event.event.get_permission_query_conditions", # } -has_permission = { - "File": "cloud_storage.cloud_storage.overrides.file.has_permission", -} +# has_permission = { +# "File": "cloud_storage.cloud_storage.overrides.file.has_permission", +# } # DocType Class # ---------------