Skip to content
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

Merged
merged 12 commits into from
Dec 16, 2020
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
dpgaspar committed Dec 11, 2020
commit 2461651adbcb1c46639c96766139a531f5863298
1 change: 1 addition & 0 deletions superset/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,5 @@ class RouteMethod: # pylint: disable=too-few-public-methods
"related": "read",
"refresh": "read",
"related_objects": "read",
"import_": "write",
}
2 changes: 1 addition & 1 deletion tests/datasets/api_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def test_get_dataset_info(self):
rv = self.get_assert_metric(uri, "info")
assert rv.status_code == 200

def test_info_security_chart(self):
def test_info_security_dataset(self):
"""
Dataset API: Test info security
"""
Expand Down