-
Notifications
You must be signed in to change notification settings - Fork 12.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
Admin can not overwrite chart from another owner #24399
Comments
I also have this same issue. I am an admin and another admin created a chart but I have to save a new chart instead of being able to overwrite. |
As a workaround you can create a database trigger which will automatically give all admins ownership of newly created charts:
And you can give admins ownership of existing charts by running this query for each admin user id (replacing <user_id> with the user_id):
Hope this helps. |
This bug exist from 2.0. Hoped to see it fixed on 2.1.1 but disappointed. |
Thanks @iercan for reporting! Do you know if this is still broken in 3.0? |
I don't know about 3.0 |
@eschutho Still exists in 3.0 |
Is anyone able to validate if this is still unresolved in 3.1 or the 4.0 release candidate? |
@rusackas Yes it still exists in version 4.0.0 |
Hi, I am importing a csv and facing this issue, where exactly do I create a scheme like this? Any help you can provide will be much appreciated. |
I'm on |
To contribute to the SQL solutions here this query adds all admins as owner into all existing charts:
|
When an Admin opens a chart which is owned by a different user, the Admin can not save and overwrite the existing chart
How to reproduce the bug
Expected results
Admin can choose to overwrite the chart
Actual results
The Overwrite option is disabled
Screenshots
Environment
python --version
node -v
FEATURE_FLAGS = {
"DASHBOARD_NATIVE_FILTERS": True,
"THUMBNAILS": False,
"LISTVIEWS_DEFAULT_CARD_VIEW" : False,
"THUMBNAILS_SQLA_LISTENERS": False,
"ENABLE_EXPLORE_DRAG_AND_DROP": True,
"ENABLE_TEMPLATE_PROCESSING": True,
"DASHBOARD_CROSS_FILTERS": True,
"GENERIC_CHART_AXES": True,
"ENABLE_DND_WITH_CLICK_UX": True,
"UX_BETA": True,
"ALERT_REPORTS": True,
"DASHBOARD_RBAC": True,
"ALLOW_ADHOC_SUBQUERY" : True,
"HORIZONTAL_FILTER_BAR": True,
}
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: