samarthjain commented on a change in pull request #11008:
URL: https://github.com/apache/druid/pull/11008#discussion_r597304022
##########
File path:
server/src/main/java/org/apache/druid/server/security/AuthorizationUtils.java
##########
@@ -263,6 +263,10 @@ public static Access authorizeAllResourceActions(
throw new ISE("No authorizer found with name: [%s].",
authenticationResult.getAuthorizerName());
}
+ if (authorizer instanceof AllowAllAuthorizer) {
Review comment:
Yeah, looks like this isn't the right thing to do.
Also, the following loop needs to be executed because there could be
duplicates in `Iterable<ResourceAction`. Will file an issue and a PR to revert
this change.
--
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]