jihoonson commented on PR #12396: URL: https://github.com/apache/druid/pull/12396#issuecomment-1136537580
@clintropolis maybe we can add a default implementation for `getQueryContext()` that returns null. Callers should check the return value and use `getContext()` instead if null is returned. When context param authorization is enabled but `getQueryContext()` returns null, since we cannot distinguish user context params and others, the authorizer authorizes all context params returned by `getContext()`. What do you think? -- 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]
