Nexus Repository 2 officially sunsetted June 30, 2025. Visit my.sonatype.com for archived documentation. Migrate to Sonatype Nexus Repository 3 as soon as possible.
Problem:
You've restricted read access to a repository by using a repository target with a regular expression that matches a group ID, such as "/com/mycompany/team-a/.*". This works, but now users with this privilege can't use the "Browse Storage" tab in the UI.
Solution:
This is happening because the folders "/", "/com/", etc. do not match your regular expressions.
To fix this you also need to grant read access to the paths in the tree, so use a regular expression like this one:
/|/com/|/com/mycompany/|/com/mycompany/team-a/.*
Alternatively, you can grant access to all directory listings regardless of where they are in the hierarchy:
.*/
This will grant access to all directory listings, but will not grant any access to artifacts within a directory.