Skip to content

Commit

Permalink
Bugfix druid datasource onsave
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Oct 9, 2015
1 parent b034bf9 commit b84ede1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panoramix/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b84ede1

Please sign in to comment.