mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore: simplify chart permissions (#16078)
(cherry picked from commit 1dbd1e9f02)
This commit is contained in:
committed by
Ville Brofeldt
parent
b6e4b0d6c1
commit
8506e4f555
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user