You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2023/03/31 18:13:00 UTC

[jira] [Resolved] (SOLR-16729) NP because roles is null

     [ https://issues.apache.org/jira/browse/SOLR-16729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl resolved SOLR-16729.
--------------------------------
    Resolution: Duplicate

See SOLR-16730 for patch

> NP because roles is null
> ------------------------
>
>                 Key: SOLR-16729
>                 URL: https://issues.apache.org/jira/browse/SOLR-16729
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Server, SolrCloud
>    Affects Versions: 9.2
>            Reporter: Thomas Wöckinger
>            Assignee: Jan Høydahl
>            Priority: Major
>
> When using SolrCloud with following simple security.json
>  
> {code:java}
> {
>   "authentication": {
>     "class": "solr.BasicAuthPlugin",
>     "blockUnknown": true,
>     "credentials": {
>       "blue": "xxxx"
>     }
>   },
>   "authorization": {
>     "class": "solr.RuleBasedAuthorizationPlugin",
>     "permissions": [{
>       "name": "all",
>       "role": "admin"
>     }],
>     "user-role": {
>       "blue": "admin"
>     }
>   }
> }
> {code}
>  
> After login and clicking on *Cloud* in Admin UI following exception shows up in the logs (see next comment)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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