-
Notifications
You must be signed in to change notification settings - Fork 13.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
feat(annotations): security permissions simplification #12014
Conversation
superset/migrations/versions/c25cb2c78727_security_coverage_annotations.py
Outdated
Show resolved
Hide resolved
superset/migrations/versions/c25cb2c78727_security_coverage_annotations.py
Outdated
Show resolved
Hide resolved
249c3cc
to
0811867
Compare
Codecov Report
@@ Coverage Diff @@
## master #12014 +/- ##
==========================================
+ Coverage 63.81% 67.60% +3.78%
==========================================
Files 956 957 +1
Lines 46845 46895 +50
Branches 4590 4590
==========================================
+ Hits 29895 31704 +1809
+ Misses 16766 15080 -1686
+ Partials 184 111 -73
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@kkucharc you need to change the permission name on the tests also: |
superset-frontend/spec/javascripts/views/CRUD/annotationlayers/AnnotationLayersList_spec.jsx
Show resolved
Hide resolved
…CURITY_CONVERGE_VIEWS
…ated test since 'can_write' has wider permissions
d01f562
to
19b9306
Compare
The db upgrade "c25cb2c78727, security converge annotations" failed on my instance.
To fix it, I had to manually remove these three lines in the table:
|
SUMMARY
Updated annotations and annotation layers security permissions.
Current state:
New state:
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION