-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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(datasets): security perm simplification #12000
feat(datasets): security perm simplification #12000
Conversation
Codecov Report
@@ Coverage Diff @@
## master #12000 +/- ##
===========================================
- Coverage 63.72% 53.11% -10.61%
===========================================
Files 958 438 -520
Lines 47103 15746 -31357
Branches 4609 4077 -532
===========================================
- Hits 30016 8364 -21652
+ Misses 16903 7382 -9521
+ Partials 184 0 -184
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -1086,7 +1100,7 @@ def test_export_dataset_gamma(self): | |||
|
|||
self.login(username="gamma") | |||
rv = self.client.get(uri) | |||
assert rv.status_code == 401 | |||
assert rv.status_code == 404 |
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.
@betodealmeida export and import datasets will not need a separate permission now. import needs can_write
on Dataset
and export can_read
on Dataset
# Conflicts: # superset/constants.py # tests/security_tests.py
# Conflicts: # tests/security_tests.py
SUMMARY
security permission simplification. Scope
Datasets
for API and MVC FAB classes.Existing permissions:
Future permissions:
WARNING: Don't merge freely, there are concurrent security converge PR's open, and the parent revision need to be updated once one is merged.
ADDITIONAL INFORMATION