You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Superset 2.0, the SQLLAB_BACKEND_PERSISTENCE feature flag was turned on by default. However, the permissions to create, modify and delete the TableSchemaView were not added to the sql_lab role by default. This causes error bubbles to appear when attempting to add or remove datasets to the left-hand pane (schema preview).
How to reproduce the bug
Start Superset with a default configration
Log in with a non-Admin, non-Alpha user who is assigned the sql_lab role
Select a Database, Schema and Table in the left-hand pane
An error bubble will appear
Still on the left-hand pane, click the X icon to "Remove table preview"
A different error will appear
Expected results
Persisting the table preview state to the backend should happen seamlessly, without reporting any errors. This should be true for any user who is assigned the sql_lab role, not just Admin and Alpha users.
Actual results
The UI seems to behave nominally - the table schema preview appears as expected, as does the sample data. But the error bubbles indicate that there was an error persisting the state to the backend (see screenshot).
Screenshots
Environment
(please complete the following information):
browser type and version: Reproduceable on several versions of Firefox and Chrome
superset version: 2.0+
python version: 3.8.16
Checklist
Make sure to follow these steps before submitting your issue - thank you!
I have checked the superset logs for python stacktraces and included it here as text if there are any.
I have reproduced the issue with at least the latest released version of superset.
I have checked the issue tracker for the same issue and I haven't found one similar.
The text was updated successfully, but these errors were encountered:
@cccs-tom do you know if this is still an issue, or are you still intending to open a PR? Otherwise, this issue is at risk of being closed since it's been quiet for 5 months, and we don't support 2.0 anymore.
@cccs-tom do you know if this is still an issue, or are you still intending to open a PR? Otherwise, this issue is at risk of being closed since it's been quiet for 5 months, and we don't support 2.0 anymore.
@rusackas My apologies, I got pulled off of Superset a while back and never made it back to this. I can try and check whether this has been fixed in 3.0+, I don't know off hand. Let me get back to you.
@rusackas I was just able to test this with @cccs-joel. We aren't set up to test with 4.0 RC1 at this time, but we were able to reproduce the bug with Superset 3.1.1.
In Superset 2.0, the
SQLLAB_BACKEND_PERSISTENCE
feature flag was turned on by default. However, the permissions to create, modify and delete theTableSchemaView
were not added to thesql_lab
role by default. This causes error bubbles to appear when attempting to add or remove datasets to the left-hand pane (schema preview).How to reproduce the bug
sql_lab
roleX
icon to "Remove table preview"Expected results
Persisting the table preview state to the backend should happen seamlessly, without reporting any errors. This should be true for any user who is assigned the
sql_lab
role, not just Admin and Alpha users.Actual results
The UI seems to behave nominally - the table schema preview appears as expected, as does the sample data. But the error bubbles indicate that there was an error persisting the state to the backend (see screenshot).
Screenshots
Environment
(please complete the following information):
Checklist
Make sure to follow these steps before submitting your issue - thank you!
The text was updated successfully, but these errors were encountered: