dsmiley commented on a change in pull request #372: URL: https://github.com/apache/solr/pull/372#discussion_r737860732
########## File path: solr/core/src/java/org/apache/solr/handler/admin/SegmentsInfoRequestHandler.java ########## @@ -434,4 +435,9 @@ public String getDescription() { public Category getCategory() { return Category.ADMIN; } + + @Override + public Name getPermissionName(AuthorizationContext request) { + return Name.CONFIG_READ_PERM; Review comment: I confess I haven't really worked with Solr authorization, but my intuition is that some of our permissions should imply having others. If you can read configuration, why withhold metrics? Yet the converse is not true. Config can be more sensitive. -- 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