feat: disable edits on external assets (#19344)

* feat: disable edits on external assets

* Update tests

(cherry picked from commit d304849b46)
This commit is contained in:
Beto Dealmeida
2022-03-28 16:32:57 -07:00
committed by Ville Brofeldt
parent 495b29a4eb
commit cccec50454
21 changed files with 86 additions and 11 deletions

View File

@@ -349,6 +349,7 @@ class TestDashboardApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixi
"url": "/superset/dashboard/slug1/",
"slug": "slug1",
"thumbnail_url": dashboard.thumbnail_url,
"is_managed_externally": False,
}
data = json.loads(rv.data.decode("utf-8"))
self.assertIn("changed_on", data["result"])