You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "nagarajmmu (via GitHub)" <gi...@apache.org> on 2025/05/28 06:38:14 UTC

[I] How read only user will add native filters in dashboard [superset]

nagarajmmu opened a new issue, #33599:
URL: https://github.com/apache/superset/issues/33599

   ### Bug description
   
   Hi All
   
   We are using Superset version 4.1.1 for our application.
   We created a custom role READ_USER and WRITE_USER.
   
   Here, WRITE_USER able to add the new native filters for any column.
   But READ_USER don't have permission to add native filter.
   
   Hear are the   READ_USER permission. **read users are not owners of the dashboard** 
   ![image](https://github.com/user-attachments/assets/83ba4a7f-ccbc-4065-a04d-18f1729a3e07)
   
   **All WRITE_USER are owner of the dashboard**, so all write users have permission to add native filters. 
   
   Please help, how to make READ_USER to add the native filters in dashboard
   Please let me know, if there is any particular permission to add for READ_USER role to make it work.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


-- 
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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] How read only user will add native filters in dashboard [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #33599: How read only user will add native filters in dashboard
URL: https://github.com/apache/superset/issues/33599


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] How read only user will add native filters in dashboard [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #33599:
URL: https://github.com/apache/superset/issues/33599#issuecomment-2917037603

   I'm 98.85% sure the bot is correct! Closing, but happy to reopen this and move it to a Discussion if you're still facing issues. :D 


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] How read only user will add native filters in dashboard [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #33599:
URL: https://github.com/apache/superset/issues/33599#issuecomment-2915160070

   <!-- Answer -->
   In Superset, the ability to add native filters to a dashboard is controlled by the "can edit" permission, which is tied to whether the user has dashboard edit rights (specifically, `dashboardInfo.dash_edit_perm`). Only users with this permission—typically dashboard owners or those with explicit edit rights—can add or modify native filters in a dashboard. This is enforced in the code that manages dashboard state and native filter configuration, where the UI checks for this permission before enabling filter editing features ([source](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/DashboardBuilder/state.ts)).
   
   If your READ_USER role is not a dashboard owner and does not have edit permissions on the dashboard, they will not be able to add native filters. There is no separate, more granular permission specifically for adding native filters; it is bundled with the general dashboard edit permission.
   
   To allow READ_USER to add native filters, you would need to grant them dashboard edit rights, which also allows them to make other changes to the dashboard. If you want to keep READ_USER as a true "read-only" role, there is currently no supported way to allow only native filter editing without broader edit permissions.
   
   No relevant documentation or prior discussions were found that suggest a workaround or a more granular permission for this specific use case.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention my name [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/33533b69-d46b-480c-b8bc-6028adb916a3?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/33533b69-d46b-480c-b8bc-6028adb916a3?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/33533b69-d46b-480c-b8bc-6028adb916a3?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/33533b69-d46b-480c-b8bc-6028adb916a3?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/33533b69-d46b-480c-b8bc-6028adb916a3?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/33533b69-d46b-480c-b8bc-6028adb916a3?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/33533b69-d46b-480c-b8bc-6028adb916a3?feedback_type=other)</sup>&nbsp;&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/issues/33599)


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] How read only user will add native filters in dashboard [superset]

Posted by "nagarajmmu (via GitHub)" <gi...@apache.org>.
nagarajmmu commented on issue #33599:
URL: https://github.com/apache/superset/issues/33599#issuecomment-2917113235

   Hi [@dosu](https://go.dosu.dev/dosubot).
   
   Thanks for the information, I got the complete idea about permissions in superset.
   
    
   
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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