-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
fix: migrate_roles #16098
fix: migrate_roles #16098
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16098 +/- ##
==========================================
- Coverage 76.79% 76.64% -0.15%
==========================================
Files 995 995
Lines 52878 52880 +2
Branches 6720 6720
==========================================
- Hits 40606 40530 -76
- Misses 12046 12124 +78
Partials 226 226
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this happens because the new permissions need to exist on the DB first, here: https://github.com/apache/superset/blob/master/superset/migrations/versions/f6196627326f_update_chart_permissions.py#L54. Heres an example: https://github.com/apache/superset/blob/master/superset/migrations/versions/42b4c9e01447_security_converge_databases.py#L61
d6c388c
to
12ed1cb
Compare
12ed1cb
to
a0f9e08
Compare
🏷️ 2021.31 |
(cherry picked from commit 28c383a)
(cherry picked from commit 28c383a)
(cherry picked from commit 28c383a)
(cherry picked from commit 28c383a)
(cherry picked from commit 28c383a)
(cherry picked from commit 2abe54b)
SUMMARY
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION