bito-code-review[bot] commented on PR #37900:
URL: https://github.com/apache/superset/pull/37900#issuecomment-3885854187

   <!-- Bito Reply -->
   Yes, the second `if security_manager.is_admin():` check is redundant and 
unreachable because the earlier condition `if not user_id or 
security_manager.is_admin():` already handles admin users by returning the 
unfiltered 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to