mirror of
https://github.com/apache/superset.git
synced 2026-06-06 16:19:18 +00:00
Bugfix druid datasource onsave
This commit is contained in:
@@ -211,7 +211,7 @@ class DatasourceModelView(PanoramixModelView, DeleteMixin):
|
||||
|
||||
def post_add(self, datasource):
|
||||
datasource.generate_metrics()
|
||||
utils.merge_perm(sm, 'datasource_access', table.perm)
|
||||
utils.merge_perm(sm, 'datasource_access', datasource.perm)
|
||||
|
||||
def post_update(self, datasource):
|
||||
self.post_add(datasource)
|
||||
|
||||
Reference in New Issue
Block a user