Apache Solr open-source search software
SOLR-15626: Fix `config-read` permission. (#296)
Jon Senchynad013e9b48565
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex fb0b6faff16..87e0bbfaf54 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -386,6 +386,35 @@ Bug Fixes* SOLR-15653: Fix collection creation race that assumes a local clusterstate when the collection has only just been created. (Mark Miller)+================== 8.11.0 ==================++Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.++New Features+---------------------+(No changes)++Improvements+---------------------+(No changes)++Optimizations+---------------------+(No changes)++Bug Fixes+---------------------+* SOLR-15626: The "config-read" permission has been fixed to properly allow access to `/solr/admin/configs?action=LIST` (Jon Senchyna via Eric Pugh)++Build+---------------------++* LUCENE-10104, SOLR-15631: Upgrade forbiddenapis to version 3.2. (Uwe Schindler)++Other Changes+---------------------+(No changes)+================== 8.10.0 ==================Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.diff --git a/solr/core/src/java/org/apache/solr/security/PermissionNameProvider.java b/solr/core/src/java/org/apache/solr/security/PermissionNameProvider.javaindex c0c3f7bd117..bac5e8a305a 100644--- a/solr/core/src/java/org/apache/solr/security/PermissionNameProvider.java+++ b/solr/core/src/java/org/apache/solr/security/PermissionNameProvider.java@@ -42,7 +42,7 @@ public interface PermissionNameProvider {READ_PERM("read", "*"),UPDATE_PERM("update", "*"),CONFIG_EDIT_PERM("config-edit", unmodifiableSet(new HashSet<>(asList("*", null)))),- CONFIG_READ_PERM("config-read", "*"),+ CONFIG_READ_PERM("config-read", unmodifiableSet(new HashSet<>(asList("*", null)))),SCHEMA_READ_PERM("schema-read", "*"),SCHEMA_EDIT_PERM("schema-edit", "*"),SECURITY_EDIT_PERM("security-edit", null),