Skip to content

Commit

Permalink
Fix alpha permission checks. (#1641)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkyryliuk authored Nov 18, 2016
1 parent f64a205 commit dc25bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def database_access(self, database):
def datasource_access(self, datasource):
return (
self.database_access(datasource.database) or
self.can_access("all_database_access", "all_database_access") or
self.all_datasource_access() or
self.can_access("datasource_access", datasource.perm)
)

Expand Down

0 comments on commit dc25bc6

Please sign in to comment.