This is an automated email from the ASF dual-hosted git repository.
aminghadersohi pushed a change to branch mcp-rbac-tool-visibility
in repository https://gitbox.apache.org/repos/asf/superset.git
omit 6a88f6a43fa refactor(mcp): promote local imports to module level in
RBAC middleware
omit be145c33648 ci: trigger CI run after rebase
omit 8af79150f8a fix(mcp): distinguish execute_sql permission from write
access in instructions
omit 07b96d669ab fix(mcp): fix two failing unit tests for RBAC tool
visibility
omit 83a5a59f8e6 fix(mcp): fix CI pre-commit failures for RBAC tool
visibility
omit 5e1ce672375 fix(mcp): address remaining Copilot review comments on
RBAC tool visibility
omit 9ed83c6a5b7 fix(mcp): address remaining code review findings for RBAC
tool visibility
omit cd7ae7e2b2e fix(mcp): address code review findings for RBAC tool
visibility
omit 2ccb099450c fix(mcp): hide write tools from users without write
permissions
add 852d0182b5a fix(roles): prevent 404 and silent user removal on large
role edits (#40178)
add 1230b9091b0 docs: hide Component Playground top-level nav item (#40247)
add b5ad4a7a07e test(sql-parser): pin TimescaleDB hyperfunctions parse on
postgresql (#32028) (#40142)
add 98dff2e170c chore(deps): bump yeoman-generator from 8.1.2 to 8.2.2 in
/superset-frontend (#40271)
add 738ebf9cc64 chore(deps-dev): bump @types/node from 25.8.0 to 25.9.1 in
/superset-frontend (#40268)
add 0fffa74bc6d chore(deps-dev): bump tsx from 4.22.0 to 4.22.3 in
/superset-frontend (#40267)
add 7f1c47521ea chore(deps-dev): bump @typescript-eslint/parser from
8.59.3 to 8.59.4 in /superset-frontend (#40263)
add f5fe9bfa265 chore(deps-dev): bump ts-jest from 29.4.9 to 29.4.10 in
/superset-frontend (#40260)
add fe8b218a5f8 chore(deps): bump mapbox-gl from 3.23.1 to 3.24.0 in
/superset-frontend (#40258)
add ffbce27c9b7 chore(deps): bump codecov/codecov-action from 6.0.0 to
6.0.1 (#40269)
add fbb30565086 chore(deps): bump baseline-browser-mapping from 2.10.30 to
2.10.31 in /docs (#40255)
add aa9af6c307d chore(deps-dev): bump typescript-eslint from 8.59.3 to
8.59.4 in /docs (#40254)
add 9acfac15235 chore(deps-dev): bump @typescript-eslint/parser from
8.59.3 to 8.59.4 in /superset-websocket (#40252)
add 81b4d580db9 chore(deps-dev): bump @types/node from 25.8.0 to 25.9.1 in
/superset-websocket (#40249)
add e6179036ec6 fix(sqllab): handle scientific notation in big number JSON
responses (#39994)
add 0a3a35018ce fix(mcp): changed_on_humanized null in write tool
responses (generate_dashboard, generate_chart) (#39488)
add b98bd2a07ac fix(mcp): Block destructive DDL (DROP, TRUNCATE, ALTER) in
execute_sql (#39621)
add 55024e8f4d0 feat(mcp): Add mcp_call_id to tool responses for server
log correlation (#39776)
add 6e8b3bf9761 fix(mcp): raise right error (#39964)
add fb276b08ddd fix(mcp): Skip misleading trend analysis for categorical
ASCII charts (#39761)
add 5bb54cc96bc fix(echarts): preserve dataZoom range across
setOption(notMerge) (#40173)
add 038414ea5ca chore(deps-dev): bump ts-jest from 29.4.9 to 29.4.10 in
/superset-websocket (#40290)
add ea1ce7140c9 chore(deps-dev): bump webpack from 5.106.2 to 5.107.0 in
/docs (#40291)
add 4a17c49d74f chore(deps): bump zod from 4.4.1 to 4.4.3 in
/superset-frontend (#40272)
add 3356f4d3e17 chore(deps): bump react-syntax-highlighter from 16.1.0 to
16.1.1 in /superset-frontend (#40265)
add 13fa3810a87 chore(deps): bump react-map-gl from 8.1.0 to 8.1.1 in
/superset-frontend (#40262)
add 12a21c89335 chore(deps-dev): bump @typescript-eslint/eslint-plugin
from 8.59.3 to 8.59.4 in /superset-frontend (#40256)
add dacda71f777 chore(deps-dev): bump typescript-eslint from 8.59.3 to
8.59.4 in /superset-websocket (#40251)
add c39a47cbac5 test(sql-parser): pin WITH+UNION as non-mutating across
dialects (#25659) (#40138)
add 92b1b0a2193 ci(docs): soft-fail badge localization on transient fetch
errors (#40236)
add 105820f1f4b docs(reports): playwright setup clarification (#40168)
add 6ce7c2e8dea chore(deps-dev): bump react-resizable and
@types/react-resizable in /superset-frontend (#40110)
add fbffae04446 fix(dataset-editor): drop null warning_markdown from extra
JSON serialisation (#39706)
add 69adecd6a35 fix(reports): enforce server-side recipient on
chart/dashboard report subscriptions (#38847)
add f2d80a183e8 chore(deps): bump content-disposition from 1.1.0 to 2.0.0
in /superset-frontend (#40109)
add b7585122c88 chore(deps-dev): bump @typescript-eslint/eslint-plugin
from 8.59.3 to 8.59.4 in /superset-websocket (#40250)
add 89cab1860e8 chore(codeowners): add @rusackas as translations
maintainer (#40295)
add 10b7bfc8c16 test(helpers): regression for humanize locale activation
(#28331) (#40233)
add aa8255c55c6 test(reports): regression for alerts CSV missing chart
time filters (#25538) (#40232)
add b23c65e04f1 test(charts): regression for last-modified sort order
(#27500) (#40231)
add f8600471fad test(datasets): regression test for Jinja not rendered on
sync columns (#25839) (#40224)
add 46b2d7d7a9c test(dashboard-import): pin native filter scope rootPath
preservation (#19944) (#40135)
add 4a9aecda4aa fix(dashboard-import): remap chartsInScope on import
(#26338) (#40140)
new d8ee3465865 fix(mcp): hide write tools from users without write
permissions
new 16d35d3b183 fix(mcp): address code review findings for RBAC tool
visibility
new bad03e48cdf fix(mcp): address remaining code review findings for RBAC
tool visibility
new c358463fd16 fix(mcp): address remaining Copilot review comments on
RBAC tool visibility
new 33dbd233df1 fix(mcp): fix CI pre-commit failures for RBAC tool
visibility
new 0753d9c3bb9 fix(mcp): fix two failing unit tests for RBAC tool
visibility
new facd48f70d8 fix(mcp): distinguish execute_sql permission from write
access in instructions
new f10d088d78f ci: trigger CI run after rebase
new f97e70ccdb0 refactor(mcp): promote local imports to module level in
RBAC middleware
new 842df5ee774 fix(mcp): fix 4 failing unit tests and ruff import error
in RBAC tool visibility
new e3e9d889a91 fix(mcp): fix unsorted imports in middleware.py
new 00ad5f39160 fix(mcp): fix pytest mark parentheses style in
test_middleware.py
new 094cbf69726 refactor(mcp): promote local imports to module level in
__main__.py and test_middleware.py
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (6a88f6a43fa)
\
N -- N -- N refs/heads/mcp-rbac-tool-visibility (094cbf69726)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 13 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/CODEOWNERS | 2 +-
.github/workflows/superset-extensions-cli.yml | 2 +-
.github/workflows/superset-frontend.yml | 2 +-
.../workflows/superset-python-integrationtest.yml | 6 +-
.github/workflows/superset-python-presto-hive.yml | 4 +-
.github/workflows/superset-python-unittest.yml | 2 +-
docs/admin_docs/configuration/alerts-reports.mdx | 6 +-
docs/package.json | 6 +-
docs/plugins/remark-localize-badges.mjs | 24 +-
docs/versions-config.json | 2 +-
docs/yarn.lock | 237 +++---
.../.storybook/shared/ResizablePanel.tsx | 32 +-
superset-frontend/package-lock.json | 940 +++++++++++----------
superset-frontend/package.json | 18 +-
.../packages/generator-superset/package.json | 2 +-
.../packages/superset-ui-core/package.json | 4 +-
.../src/connection/callApi/parseResponse.ts | 3 +-
.../test/connection/callApi/parseResponse.test.ts | 20 +
.../plugins/plugin-chart-echarts/package.json | 2 +-
.../plugin-chart-echarts/src/components/Echart.tsx | 45 +
.../test/components/Echart.test.tsx | 192 +++++
.../plugin-chart-point-cluster-map/package.json | 4 +-
.../DatasourceModal/DatasourceModal.test.tsx | 34 +-
.../Datasource/DatasourceModal/index.tsx | 4 +-
.../components/menu/DownloadMenuItems/index.tsx | 4 +-
.../src/dashboard/hooks/useDownloadScreenshot.ts | 4 +-
.../reports/ReportModal/ReportModal.test.tsx | 20 +-
.../src/features/reports/ReportModal/actions.ts | 23 +
.../src/features/reports/ReportModal/index.tsx | 38 +-
.../src/features/reports/ReportModal/reducer.ts | 21 +
.../src/features/roles/RoleListEditModal.test.tsx | 3 +
.../src/features/roles/RoleListEditModal.tsx | 15 +-
superset-frontend/src/utils/export.test.ts | 13 +-
superset-frontend/src/utils/export.ts | 4 +-
superset-frontend/src/utils/fetchOptions.ts | 8 +
superset-websocket/package-lock.json | 292 +++----
superset-websocket/package.json | 10 +-
superset/commands/dashboard/importers/v1/utils.py | 27 +-
superset/commands/report/base.py | 5 +-
superset/commands/report/update.py | 30 +-
superset/config.py | 5 +-
superset/mcp_service/__main__.py | 5 +-
superset/mcp_service/auth.py | 5 +-
superset/mcp_service/chart/ascii_charts.py | 65 +-
superset/mcp_service/chart/compile.py | 101 +++
superset/mcp_service/chart/tool/generate_chart.py | 18 +-
.../dashboard/tool/generate_dashboard.py | 14 +
superset/mcp_service/middleware.py | 18 +-
superset/mcp_service/server.py | 5 +-
superset/mcp_service/sql_lab/tool/execute_sql.py | 50 +-
superset/mcp_service/system/schemas.py | 8 +
.../mcp_service/system/tool/generate_bug_report.py | 6 +
superset/reports/api.py | 79 +-
superset/reports/schemas.py | 24 +
superset/sql/parse.py | 53 ++
tests/integration_tests/charts/api_tests.py | 70 ++
tests/integration_tests/reports/api_tests.py | 3 +-
tests/unit_tests/commands/report/execute_test.py | 43 +
tests/unit_tests/commands/report/update_test.py | 148 +++-
tests/unit_tests/connectors/sqla/utils_test.py | 48 ++
.../dashboards/commands/importers/v1/utils_test.py | 245 ++++++
.../mcp_service/chart/test_ascii_charts.py | 83 +-
tests/unit_tests/mcp_service/chart/test_compile.py | 87 ++
.../dashboard/tool/test_dashboard_generation.py | 5 +-
.../mcp_service/sql_lab/tool/test_execute_sql.py | 150 ++++
.../system/tool/test_generate_bug_report.py | 36 +
tests/unit_tests/mcp_service/test_middleware.py | 35 +-
.../mcp_service/test_middleware_logging.py | 109 ++-
tests/unit_tests/models/helpers_test.py | 53 ++
tests/unit_tests/reports/schemas_test.py | 158 +++-
tests/unit_tests/sql/parse_tests.py | 131 +++
71 files changed, 3052 insertions(+), 918 deletions(-)
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/test/components/Echart.test.tsx