GitHub user dosubot[bot] added a comment to the discussion: Export Import 
dashboards with associated roles

<!-- Answer -->
Exporting dashboards with associated roles is not currently supported in 
Superset, even if you enable the DASHBOARD_RBAC and VERSIONED_EXPORT feature 
flags. Role associations are stored in the database (dashboard_roles table) but 
are not included in the exported YAML, so when you import a dashboard, you have 
to manually re-assign roles afterward. There’s no feature flag or setting that 
enables exporting/importing dashboard role associations at this time. You can 
view current role associations by querying the dashboard_roles table in your 
metadata database. For more details and discussion, see [this 
thread](https://github.com/apache/superset/discussions/34628).

There is a draft PR to add UUIDs to roles and improve export/import, but it’s 
not merged yet and the feature remains an open issue ([PR 
link](https://github.com/apache/superset/pull/18781)).


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/c792f6af-a5d6-48e3-9649-c5346f36f9df?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/c792f6af-a5d6-48e3-9649-c5346f36f9df?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/c792f6af-a5d6-48e3-9649-c5346f36f9df?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/c792f6af-a5d6-48e3-9649-c5346f36f9df?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/c792f6af-a5d6-48e3-9649-c5346f36f9df?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/c792f6af-a5d6-48e3-9649-c5346f36f9df?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/c792f6af-a5d6-48e3-9649-c5346f36f9df?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
 nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/18831)

GitHub link: 
https://github.com/apache/superset/discussions/18831#discussioncomment-14089222

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to