suneet-s commented on a change in pull request #11013:
URL: https://github.com/apache/druid/pull/11013#discussion_r597308448
##########
File path:
server/src/main/java/org/apache/druid/server/security/AuthorizationUtils.java
##########
@@ -263,10 +263,6 @@ public static Access authorizeAllResourceActions(
throw new ISE("No authorizer found with name: [%s].",
authenticationResult.getAuthorizerName());
}
- if (authorizer instanceof AllowAllAuthorizer) {
- return resources;
- }
-
Review comment:
Could we add a test to prevent someone accidentally making this addition
in the future. I read the previous patch and thought this was a good
optimization too.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]