Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16729

NP because roles is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 9.2
    • None
    • Server, SolrCloud
    • None

    Description

      When using SolrCloud with following simple security.json

       

      {
        "authentication": {
          "class": "solr.BasicAuthPlugin",
          "blockUnknown": true,
          "credentials": {
            "blue": "xxxx"
          }
        },
        "authorization": {
          "class": "solr.RuleBasedAuthorizationPlugin",
          "permissions": [{
            "name": "all",
            "role": "admin"
          }],
          "user-role": {
            "blue": "admin"
          }
        }
      }
      

       

      After login and clicking on Cloud in Admin UI following exception shows up in the logs (see next comment)

      Attachments

        Issue Links

          Activity

            People

              janhoy Jan Høydahl
              thomas.woeckinger Thomas Wöckinger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: