You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/10/06 16:57:11 UTC

[GitHub] [solr] TheSench edited a comment on pull request #296: SOLR-15626: Fix `config-read` permission.

TheSench edited a comment on pull request #296:
URL: https://github.com/apache/solr/pull/296#issuecomment-936683714


   As an alternate, you can also use this, which _should_ allow unauthenticated access to listing configSets (and will after the bugfix):
   ```jsonc
   {
       "authentication": {
           "class": "solr.BasicAuthPlugin",
           "credentials": {
               // solr:SolrRocks
               "solr": "IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="
           },
           "blockUnknown": false
       },
       "authorization": {
           "class": "solr.RuleBasedAuthorizationPlugin",
           "permissions": [
               {
                   "name": "config-read",
                   "role": null
               },
               {
                   "name": "all",
                   "role": "admin"
               }
           ],
           "user-role": {
               "solr": "admin"
           }
       }
   }
   ```


-- 
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-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org