Skip to content

Commit

Permalink
Update manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley committed Jul 5, 2022
1 parent b7debe1 commit da4fab6
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 @@ -1151,7 +1151,7 @@ def get_rls_filters(self, table: "BaseDatasource") -> List[SqlaQuery]:
:param table: The table to check against
:returns: A list of filters
"""

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

Expand Down

0 comments on commit da4fab6

Please sign in to comment.