fix: change database save in DatasourceEditor (#9255)

* fix: change database save in DatasourceEditor

This addresses the issue where pointing a datasource to another database
in the datasource editor is not reflected.

Also addresses:
- a minorcosmetic issue in the datasource editor.
- user/owners list not getting populated

* tests
This commit is contained in:
Maxime Beauchemin
2020-03-10 09:20:37 -07:00
committed by GitHub
parent 99242225d6
commit 116200cf73
7 changed files with 49 additions and 15 deletions

View File

@@ -83,6 +83,7 @@ PermissionModelView.list_widget = SupersetSecurityListWidget
# Limiting routes on FAB model views
UserModelView.include_route_methods = RouteMethod.CRUD_SET | {
RouteMethod.ACTION,
RouteMethod.API_READ,
RouteMethod.ACTION_POST,
"userinfo",
}