With this security.json file in cloud mode, which allows all permission
for the one user it has, creating a collection fails, either with SolrJ
or in the admin UI. This is the case for 9.1.1 or 9.3.0-SNAPSHOT.
{
"authentication":{
"class":"solr.BasicAuthPlugin",
"credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0=
Ndd7LKvVBAaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="}
},
"authorization":{
"class":"solr.RuleBasedAuthorizationPlugin",
"permissions":[{"name":"security-edit",
"role":"admin"}],
"user-role":{"solr":"admin"}
}}
The errors that get logged make no sense to me.
With 9.3.0-SNAPSHOT and auth enabled the admin UI "Add Collection"
button does show a popup (but the add fails), but with 9.1.1 and auth
enabled, clicking "Add Collection" does absolutely nothing. Tried in
Chrome, Firefox, and Edge.
Thanks,
Shawn