Replies: 1 comment
-
|
PR opened: #42002 (adds an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
The MCP
update_dashboardtool can edit a dashboard's title, description, slug,publishedflag, tags, CSS, layout andjson_metadata, but it has no way to set the dashboard's owners, and no other MCP tool sets owners either.Why this matters
A dashboard created through the MCP (
generate_dashboard) is owned only by the MCP agent's user. Since an unpublished dashboard is visible only to its owners, the human who drove the agent cannot see or manage their own newly created dashboard, and no MCP client can transfer ownership to them. Today the only workarounds are the Superset UI or direct metadata-DB access.Proposed change
Add an optional
ownersfield (full-replacement list of user IDs) to the existingupdate_dashboardtool, mirroring the REST dashboard owners semantics:OwnersNotFounderror,Editorship remains enforced via
raise_for_editorship, so only current owners or an Admin can change owners (same guarantee as the REST PUT).Additional context
Small, self-contained enhancement to an existing tool (not a new tool / not SIP-scope). PR to follow and will link back here.
Beta Was this translation helpful? Give feedback.
All reactions