rusackas commented on code in PR #43898:
URL: https://github.com/apache/superset/pull/43898#discussion_r3948408230
##########
docs/docs/using-superset/using-ai-with-superset.mdx:
##########
@@ -269,26 +269,28 @@ Ask your admin for the MCP server URL and any
authentication tokens you need.
### Charts
-| Tool | Description
|
-| ----------------------- |
----------------------------------------------------------------------------------------------------------------------------------
|
-| `list_charts` | List charts with filtering and search
|
-| `get_chart_info` | Get chart metadata and configuration
|
-| `get_chart_data` | Retrieve chart data (JSON, CSV, or Excel)
|
-| `get_chart_preview` | Generate a chart preview (URL, ASCII, table, or
Vega-Lite)
|
-| `get_chart_type_schema` | Get the configuration schema for a chart type
|
-| `generate_chart` | Create a new chart from a specification (defaults
to preview mode — review before saving)
|
-| `update_chart` | Modify an existing chart's configuration (pass
`generate_preview=False` to persist immediately instead of returning a preview
URL) |
-| `update_chart_preview` | Update a cached chart preview without saving
|
-| `generate_explore_link` | Generate an Explore URL for interactive
visualization
|
+| Tool | Description
|
+| ----------------------- |
-------------------------------------------------------------------------------------------------------------------------------------------------
|
+| `list_charts` | List charts with filtering and search
|
+| `get_chart_info` | Get chart metadata and configuration
|
+| `get_chart_data` | Retrieve chart data (JSON, CSV, or Excel)
|
+| `get_chart_preview` | Generate a chart preview (URL, ASCII, table, or
Vega-Lite)
|
+| `get_chart_type_schema` | Get the configuration schema for a chart type
|
+| `generate_chart` | Create a new chart from a specification (defaults
to preview mode — review before saving)
|
+| `update_chart` | Modify an existing chart's configuration (pass
`generate_preview=False` to persist immediately instead of returning a preview
URL) |
+| `update_chart_preview` | Update a cached chart preview without saving
|
+| `generate_explore_link` | Generate an Explore URL for interactive
visualization
|
+| `delete_chart` | Delete a chart by ID or UUID (soft-deletes to
trash when `SOFT_DELETE` is enabled; returns `permission_denied` if the caller
isn't an editor of the chart — owners, Admins, and explicitly granted editors
qualify) |
Review Comment:
Good catch, fixed! Docs now note the reports check runs before editorship,
so a non-editor with an attached alert or report hits `ReportsExist` first, not
`permission_denied`.
##########
docs/docs/using-superset/using-ai-with-superset.mdx:
##########
@@ -269,26 +269,28 @@ Ask your admin for the MCP server URL and any
authentication tokens you need.
### Charts
-| Tool | Description
|
-| ----------------------- |
----------------------------------------------------------------------------------------------------------------------------------
|
-| `list_charts` | List charts with filtering and search
|
-| `get_chart_info` | Get chart metadata and configuration
|
-| `get_chart_data` | Retrieve chart data (JSON, CSV, or Excel)
|
-| `get_chart_preview` | Generate a chart preview (URL, ASCII, table, or
Vega-Lite)
|
-| `get_chart_type_schema` | Get the configuration schema for a chart type
|
-| `generate_chart` | Create a new chart from a specification (defaults
to preview mode — review before saving)
|
-| `update_chart` | Modify an existing chart's configuration (pass
`generate_preview=False` to persist immediately instead of returning a preview
URL) |
-| `update_chart_preview` | Update a cached chart preview without saving
|
-| `generate_explore_link` | Generate an Explore URL for interactive
visualization
|
+| Tool | Description
|
+| ----------------------- |
-------------------------------------------------------------------------------------------------------------------------------------------------
|
+| `list_charts` | List charts with filtering and search
|
+| `get_chart_info` | Get chart metadata and configuration
|
+| `get_chart_data` | Retrieve chart data (JSON, CSV, or Excel)
|
+| `get_chart_preview` | Generate a chart preview (URL, ASCII, table, or
Vega-Lite)
|
+| `get_chart_type_schema` | Get the configuration schema for a chart type
|
+| `generate_chart` | Create a new chart from a specification (defaults
to preview mode — review before saving)
|
+| `update_chart` | Modify an existing chart's configuration (pass
`generate_preview=False` to persist immediately instead of returning a preview
URL) |
+| `update_chart_preview` | Update a cached chart preview without saving
|
+| `generate_explore_link` | Generate an Explore URL for interactive
visualization
|
+| `delete_chart` | Delete a chart by ID or UUID (soft-deletes to
trash when `SOFT_DELETE` is enabled; returns `permission_denied` if the caller
isn't an editor of the chart — owners, Admins, and explicitly granted editors
qualify) |
### Dashboards
-| Tool | Description
|
-| --------------------------------- |
-------------------------------------------- |
-| `list_dashboards` | List dashboards with filtering and
search |
-| `get_dashboard_info` | Get dashboard metadata and layout
|
-| `generate_dashboard` | Create a new dashboard with specified
charts |
-| `add_chart_to_existing_dashboard` | Add a chart to an existing dashboard
|
+| Tool | Description
|
+| --------------------------------- |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
+| `list_dashboards` | List dashboards with filtering and
search
|
+| `get_dashboard_info` | Get dashboard metadata and layout
|
+| `generate_dashboard` | Create a new dashboard with specified
charts
|
+| `add_chart_to_existing_dashboard` | Add a chart to an existing dashboard
|
+| `delete_dashboard` | Delete a dashboard by ID, UUID, or slug;
leaves its charts intact (soft-deletes to trash when `SOFT_DELETE` is enabled;
returns `permission_denied` if the caller isn't an editor of the dashboard —
owners, Admins, and explicitly granted editors qualify) |
Review Comment:
Same fix here, the dashboard row now covers the attached-report precondition
too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]