aminghadersohi commented on PR #42297: URL: https://github.com/apache/superset/pull/42297#issuecomment-5186204303
Addressed in 9ea986e3517afba3445466d5197ecf8acac4df1e. `_validate_requested_api_key_scopes` now calls `_has_view_access(user, ...)`, so authorization is evaluated against the passed-in user rather than `g.user`. I also updated the unit tests to assert that the requested user is forwarded to the RBAC check. -- 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]
