chore: simplify chart permissions (#16078)

(cherry picked from commit 1dbd1e9f02)
This commit is contained in:
Beto Dealmeida
2021-08-05 08:18:29 -07:00
committed by Ville Brofeldt
parent b6e4b0d6c1
commit 8506e4f555
3 changed files with 73 additions and 3 deletions

View File

@@ -187,9 +187,7 @@ class TestChartApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixin):
data = json.loads(rv.data.decode("utf-8"))
assert rv.status_code == 200
assert set(data["permissions"]) == {
"can_get_data",
"can_read",
"can_post_data",
"can_write",
}