Comments (6)
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 Dashboard
and action would be read.refresh.force
, where composing a role you could specify you give read.*
minus !read.refresh.force
. Clearly will require work to attach perms to actions across the frontend/backend, but seems the model I have in mind (and will publish soon) should support this.
from superset.
Can someone help ?
from superset.
I'm not sure if there is such a granular permission for that. I'm curious the use case and why you wouldn't want users to refresh... maybe for embedded purposes?
Maybe @eschutho or @dpgaspar know a permission that can address this.
from superset.
@rusackas Frequent refresh causes a lot of query to Athena which also increases our Athena cost.
from superset.
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.
from superset.
I'm not sure if there is such a granular permission for that. I'm curious the use case and why you wouldn't want users to refresh... maybe for embedded purposes?
Maybe @eschutho or @dpgaspar know a permission that can address this.
No specific permission for it. As you said, user's can always hit the endpoint explore_json
or chart/data`, rate limit could be a solution also
from superset.
Related Issues (20)
- The tooltip of Country Map is not readable HOT 4
- [SIP-132] Proposal for SQL Lab addon plugins HOT 3
- [SIP-133] Update "Time Range" filter in dashboard HOT 6
- HTTP Headers Configuration on config.py not overriding. HOT 3
- "embed dashboard" button does not show up HOT 1
- Missing CSV file in email of report / alert HOT 1
- Running superset db upgrade results is about a SQLite syntax error. HOT 1
- How to customize the row number in the exported excel file? HOT 2
- There is no filter box in apache superset version 3.1.3 HOT 2
- Published Dashboard without charts can only be reached by owners HOT 1
- Owner/Creator FrankjesusGonzales ©2024 📍
- Angular run time error of superset-embedded-sdk HOT 3
- DISPLAY_MAX_ROW 10.000 / 100.000 HOT 2
- Tables with long numbers are truncated when exported to excel HOT 2
- superset-frontend ReferenceError: module is not defined HOT 3
- Error in SQL Lab or trying to create a Dataset based on Hive HOT 1
- "Drill to Details by" Feature Ignores Applied Filters in Superset 4.0.1 HOT 3
- Create Dashboard API not working HOT 1
- Permalinks doesn't work: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte HOT 1
- [SIP] Hide inactive users
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superset.