GitHub user dosubot[bot] added a comment to the discussion: Restrict Report or 
Individual Page in Report based on user persona

<!-- Answer -->
Superset supports restricting access to entire dashboards and reports using 
role-based access control (RBAC) with the DASHBOARD_RBAC feature flag, so you 
can assign permissions to user groups for specific dashboards or charts [PR 
30380](https://github.com/apache/superset/pull/30380). For data-level 
restrictions, row-level security (RLS) lets you filter data by user roles 
[schemas.py](https://github.com/apache/superset/blob/master/superset/row_level_security/schemas.py).

However, Superset does not currently support restricting access to individual 
dashboard tabs (pages) within a report based on user persona or roles. There is 
no built-in way to use a custom database table to dynamically control access at 
the page/tab level [issue 
32060](https://github.com/apache/superset/issues/32060).

A common workaround is to split your report into multiple dashboards (e.g., one 
for the summary page, one for the detail page) and assign access to each 
dashboard according to user roles. For true page-level access control, custom 
development would be needed—this would require changes to both the frontend and 
backend, and likely a Superset Improvement Proposal (SIP).

For more details, see the discussion on dynamic tab selection and access 
control [issue 32060](https://github.com/apache/superset/issues/32060).


<!-- 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/252bcf5f-e877-4819-ade7-57bc771f49b0?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/252bcf5f-e877-4819-ade7-57bc771f49b0?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/252bcf5f-e877-4819-ade7-57bc771f49b0?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/252bcf5f-e877-4819-ade7-57bc771f49b0?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/252bcf5f-e877-4819-ade7-57bc771f49b0?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/252bcf5f-e877-4819-ade7-57bc771f49b0?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/252bcf5f-e877-4819-ade7-57bc771f49b0?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/35533)

GitHub link: 
https://github.com/apache/superset/discussions/35533#discussioncomment-14607548

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to