rusackas commented on code in PR #44207:
URL: https://github.com/apache/superset/pull/44207#discussion_r4018227729
##########
docs/docs/using-superset/using-ai-with-superset.mdx:
##########
@@ -281,6 +281,7 @@ Ask your admin for the MCP server URL and any
authentication tokens you need.
| `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; fails if alerts/reports are still
attached, checked before editorship; otherwise returns `permission_denied` if
the caller isn't an editor of the chart — owners, Admins, and explicitly
granted editors qualify) |
+| `restore_chart` | Restore a soft-deleted chart from trash by ID or
UUID; not gated on `SOFT_DELETE`, so rows trashed while it was enabled stay
recoverable, but only soft-deleted charts can be restored — permanently deleted
charts are unrecoverable; returns `permission_denied` if the caller isn't an
editor of the chart |
Review Comment:
Good catch, fixed. Both rows now say permission_denied only applies when the
caller can see the object but isn't an editor, and NotFound covers the
invisible case.
--
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]