-
Notifications
You must be signed in to change notification settings - Fork 14k
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
revert #9329 #9438
revert #9329 #9438
Conversation
Can you point to where this issue was reported, for context? edit: nevermind I see, the discussion was on the original PR. |
Having an hard time to reproduce the issue. Are user's getting this when coming from dashboards? can user's view the charts on the chart list? Note: HTTP 404, means that the chart does not exist or it's being filtered by the already in-place filter. Following logic, can't be sure, are you certain that the revert solves the issue? |
I'm able to reproduce it the following way:
This is caused by user's having access to viz charts by having the database access permission, but the chart filter does not include the database access filter, just schema, datasource or all datasources: here: https://github.com/apache/incubator-superset/blob/master/superset/charts/filters.py Can you confirm this reasoning? Possible path forward could be to add the database access to this filter, and assume this is the new security filter in-place for charts Other path: could be the front end disables the edit properties if the backend returns 404 |
The error is from chart view: open This error message is showing just for all charts. @dpgaspar I feel your investigate is right, all users have |
I don't mean the dashboard edit, I mean accessing the chart from the dashboard and then access "Edit chart property". Can you confirm?
|
@dpgaspar I feel this issue may only happens in airbnb environment. So we will add configuration internally, but keep open source codebase as is. |
@graceguo-supercat sounds good, I'll be around for any further help on this you my need. Thks |
CATEGORY
Choose one
SUMMARY
Airbnb users can not use chart edit modal because of following error:
We reported this issue last week, but it is still in master branch so we have to revert it again in our release branch.
@dpgaspar If you have suggested fix, I can test it in airbnb environment.
@mistercrunch @robdiciuccio
ADDITIONAL INFORMATION
REVIEWERS