You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/03/20 19:43:30 UTC
(superset) 29/32: fix(mcp): use correct permission class for save_sql_query tool (#38764)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 6.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 67b2bf0646fda5d8f291146de56c250740c6a93d
Author: Kamil Gabryjelski <ka...@gmail.com>
AuthorDate: Fri Mar 20 17:15:19 2026 +0100
fix(mcp): use correct permission class for save_sql_query tool (#38764)
Co-authored-by: Claude Opus 4.6 (1M context) <no...@anthropic.com>
---
superset/mcp_service/sql_lab/tool/save_sql_query.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/mcp_service/sql_lab/tool/save_sql_query.py b/superset/mcp_service/sql_lab/tool/save_sql_query.py
index f13a1b65bd6..a18a50483ab 100644
--- a/superset/mcp_service/sql_lab/tool/save_sql_query.py
+++ b/superset/mcp_service/sql_lab/tool/save_sql_query.py
@@ -45,7 +45,7 @@ logger = logging.getLogger(__name__)
@tool(
tags=["mutate"],
- class_permission_name="SQLLab",
+ class_permission_name="SavedQuery",
method_permission_name="write",
annotations=ToolAnnotations(
title="Save SQL query",