-
Notifications
You must be signed in to change notification settings - Fork 13.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hiding Force refresh in Dashboard #28249
Comments
Can someone help ? |
@rusackas Frequent refresh causes a lot of query to Athena which also increases our Athena cost. |
Sounds reasonable, but just to play devil's advocate here... are you sure you have a lot of users doing "force refresh" or is the dashboard's cache timeout too short? Also maybe worth noting that people can still run these queries via the chart builder or SQL lab views as frequently as they want. Another solution would be to put a tool in the middle that queries athena on a schedule (or provides an additional layer of caching, at least), keeping the resulting data in a more cost-effective warehouse/lake/db/etc. which you'd connect Superset to. |
No specific permission for it. As you said, user's can always hit the endpoint |
I'm adding a note here as I'm thinking about evolving the security model, and going with a hierarchical action model. I want to make sure that the model we'll come up with will work to support the perm requests across the community. Here the resource would be |
@mistercrunch Any update on this? This will save a lot of money. |
No update on my side, was mostly thinking about a recent SIP and how it relates to this, but I wouldn't couple the solutions. I can point to this #27029 as a recent similar PR that may be used for inspiration as to how to implement more granular perms. |
Bug description
Hello,
I want to disable
Force Refresh
in Dashboard for users. It should only be accessed by the admins.I created a new role and given only read only permissions, still users are able to do force refresh.
Which permission should I revoke for Gamma users to hide this option ?
How to reproduce the bug
Go to the dashboard.
In menu, use Force refresh.
Screenshots/recordings
Superset version
3.1.2
Python version
3.11
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: