janhoy commented on a change in pull request #427: URL: https://github.com/apache/solr/pull/427#discussion_r753726238
########## File path: solr/core/src/java/org/apache/solr/security/RuleBasedAuthorizationPluginBase.java ########## @@ -173,6 +173,7 @@ private boolean predefinedPermissionAppliesToRequest(Permission predefinedPermis log.trace("'ALL' perm applies to all requests; perm applies."); return true; //'ALL' applies to everything! } else if (! (context.getHandler() instanceof PermissionNameProvider)) { + // TODO: Is this code path needed anymore, now that all handlers implement the interface? context.getHandler returns Object and is not documented Review comment: I though of removing this code, but did not dare to, as I'm not sure if `getHandler()` may perhaps still return a class not implementing the interface... -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org