You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "tien260604 (via GitHub)" <gi...@apache.org> on 2025/10/03 04:09:20 UTC
[D] Decentralization [superset]
GitHub user tien260604 created a discussion: Decentralization
<img width="1920" height="932" alt="image" src="https://github.com/user-attachments/assets/d067b9d2-d366-49fd-80d8-1659d23f29c7" />
Currently, I have granted permission for users to view the dashboard but only granted permission to datasets of a few charts in that dashboard. The charts that are not granted permission are showing "Data error: This endpoint requires the datasource 27, database or `all_datasource_access` permission". I want to ask if there is a way to hide those charts?
GitHub link: https://github.com/apache/superset/discussions/35465
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Decentralization [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] edited a comment on the discussion: Decentralization
<!-- Answer -->
Superset does not currently have a built-in feature or configuration to hide charts on a dashboard when users lack permission to access their datasource. The default behavior is to show an error message in the chart area instead of hiding the chart frame itself ([source](https://github.com/apache/superset/discussions/32803#discussioncomment-12584626), [code reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx)). There are no official plugins or extensions for this use case.
If you need to hide unauthorized charts, the only practical workaround is to implement custom frontend logic that detects charts failing to load due to access errors and programmatically hides or removes them ([source](https://github.com/apache/superset/issues/33698#issuecomment-2945378238)). There is ongoing community interest in more granular chart visibility, and a proposal (SIP-126) exists to introduce explicit viewer permissions for dashboards and charts, but it has not been implemented yet ([source](https://github.com/apache/superset/issues/33698#issuecomment-2945378238)).
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=4bf2f2bb-e4a1-49fc-9635-4fb530017590) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/35465#discussioncomment-14580083
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Decentralization [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] added a comment to the discussion: Decentralization
<!-- Answer -->
Superset does not currently have a built-in feature or configuration to hide charts on a dashboard when users lack permission to access their datasource. The default behavior is to show an error message in the chart area instead of hiding the chart frame itself ([source](https://github.com/apache/superset/discussions/32803#discussioncomment-12584626), [code reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/components/gridComponents/Chart.jsx)). There are no official plugins or extensions for this use case.
If you need to hide unauthorized charts, the only practical workaround is to implement custom frontend logic that detects charts failing to load due to access errors and programmatically hides or removes them ([source](https://github.com/apache/superset/issues/33698#issuecomment-2945378238)). There is ongoing community interest in more granular chart visibility, and a proposal (SIP-126) exists to introduce explicit viewer permissions for dashboards and charts, but it has not been implemented yet ([source](https://github.com/apache/superset/issues/33698#issuecomment-2945378238)).
<!-- 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/4bf2f2bb-e4a1-49fc-9635-4fb530017590?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/4bf2f2bb-e4a1-49fc-9635-4fb530017590?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/4bf2f2bb-e4a1-49fc-9635-4fb530017590?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/4bf2f2bb-e4a1-49fc-9635-4fb530017590?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/4bf2f2bb-e4a1-49fc-9635-4fb530017590?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/4bf2f2bb-e4a1-49fc-9635-4fb530017590?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/4bf2f2bb-e4a1-49fc-9635-4fb530017590?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35465)
GitHub link: https://github.com/apache/superset/discussions/35465#discussioncomment-14580083
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org