Hi,

This works in 9.2. Just tested.
You may need to force-reload the Admin UI (Shift-F5) to load the latest JS and 
CSS.
What happens is then, with your security.json is that the "Add collection" 
button is disabled and greyed out.
Contrary to what you say, in the security.json you provided, the "solr" user 
does not have the "all" permission, he only has the "security-edit" permission.

Jan

> 26. mar. 2023 kl. 18:51 skrev Shawn Heisey <elyog...@elyograg.org>:
> 
> On 3/25/23 18:28, Shawn Heisey wrote:
>> On 3/25/23 16:31, Shawn Heisey wrote:
>>> On 3/24/23 23:39, Shawn Heisey wrote:
>>>> 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.
>>> 
>>> I figured out why clicking the "Add Collection" button does nothing.  I 
>>> needed to have the "collection-admin-edit" permission.  But that should not 
>>> be required, as I have the "all" permission.
>>> 
>>> That looks to me like a bug.
> 
> Thankfully that problem is fixed in 9.2, and I can see where the javascript 
> code was corrected.
> 
> I have not been able to track down the actual problem creating collections, 
> though.  I suspect that the fix will be similar to what was done in the 
> javascript -- when checking permissions, check for the explicit permission 
> that was passed, and also check for the all permission.
> 
> Do I have enough info about the problem for a Jira issue, or could the 
> problem be something I am doing wrong?
> 
> Thanks,
> Shawn

Reply via email to