pengwk commented on issue #20604: URL: https://github.com/apache/superset/issues/20604#issuecomment-1274891317
This can temporarily solve the problem @emilija-omnisend @winglight ``` diff --git a/superset/queries/saved_queries/filters.py b/superset/queries/saved_queries/filters.py index c53ff5619..a0f6f2fb9 100644 --- a/superset/queries/saved_queries/filters.py +++ b/superset/queries/saved_queries/filters.py @@ -65,6 +65,4 @@ class SavedQueryFilter(BaseFilter): # pylint: disable=too-few-public-methods :returns: flask-sqlalchemy query """ - return query.filter( - SavedQuery.created_by == g.user # pylint: disable=comparison-with-callable - ) + return query ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org