Skip to content

Commit

Permalink
Update manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored Jul 5, 2022
1 parent 2c73274 commit b7debe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/security/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ def get_rls_filters(self, table: "BaseDatasource") -> List[SqlaQuery]:
:returns: A list of filters
"""

if not (hasattr(g, "user") and g.user is not None):
if not (hasattr(g, "user") and g.user is not None):
return []

# pylint: disable=import-outside-toplevel
Expand Down

0 comments on commit b7debe1

Please sign in to comment.