sha174n commented on PR #41425: URL: https://github.com/apache/superset/pull/41425#issuecomment-4805049931
@bito-code-review The CWE-552 item is a false positive and I've resolved the inline thread. `SupersetSecurityException` subclasses `SupersetErrorException`, which has a global Flask error handler (`set_app_error_handlers` → `show_superset_error`); Flask dispatches by class MRO, so the exception is returned as a structured JSON 403, not a generic 500. No per-method decorator or try/except is needed. -- 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]
