Skip to content

Commit

Permalink
Add the missing argument (#1969)
Browse files Browse the repository at this point in the history
  • Loading branch information
flametest authored and mistercrunch committed Jan 13, 2017
1 parent bf31783 commit 9750e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def create_missing_metrics_perm(view_menu_set):
for metric in metrics:
if (metric.is_restricted and metric.perm and
metric.perm not in view_menu_set):
merge_perm('metric_access', metric.perm)
merge_perm(sm, 'metric_access', metric.perm)


def sync_role_definitions():
Expand Down

0 comments on commit 9750e49

Please sign in to comment.