Hello,
some unauthenticated (anonymous) requests such as:
POST /service/extdirect (used during the main UI page load)
GET /service/rest/v1/repositories
cause the following exceptions to be appear in the nexus.log (stack traces omitted):
2018-10-30 14:44:37,181+0100 WARN [qtp19763782-505] *UNKNOWN org.sonatype.nexus.internal.selector.SelectorManagerImpl - Unable to find privilege for id=nx-repository-view-maven2-public-browse, continuing to check privileges
org.sonatype.nexus.security.privilege.NoSuchPrivilegeException: Privilege not found: nx-repository-view-maven2-public-browse
2018-10-30 14:44:37,182+0100 WARN [qtp19763782-505] *UNKNOWN org.sonatype.nexus.internal.selector.SelectorManagerImpl - Unable to find privilege for id=2d5e797a4712c6, continuing to check privileges
org.sonatype.nexus.security.privilege.NoSuchPrivilegeException: Privilege not found: 2d5e797a4712c6
2018-10-30 14:44:37,184+0100 WARN [qtp19763782-505] *UNKNOWN org.sonatype.nexus.internal.selector.SelectorManagerImpl - Unable to find privilege for id=2d5e2cdfa5ceed, continuing to check privileges
org.sonatype.nexus.security.privilege.NoSuchPrivilegeException: Privilege not found: 2d5e2cdfa5ceed
2018-10-30 14:44:37,185+0100 WARN [qtp19763782-505] *UNKNOWN org.sonatype.nexus.internal.selector.SelectorManagerImpl - Unable to find privilege for id=39f15e37ce221d, continuing to check privileges
org.sonatype.nexus.security.privilege.NoSuchPrivilegeException: Privilege not found: 39f15e37ce221d
Now I acknowledge this may be due to some misconfiguration, orphaned entries etc. But I’d like to clean this up somehow - which direction to go?
The privilege nx-repository-view-maven2-public-browse doesn’t really exist, but it’s neither specified in any existing role (at least I haven’t found it).
Privileges 2d5e797a4712c6, 2d5e2cdfa5ceed and 39f15e37ce221d are something completely unknown to me, these could be perhaps some internal identifiers left after the privilege deletions? Anyway again, I don’t know where to look in order to clean this up properly.
Could please anyone provide guidance where and what to look for and how to sort this out?
Thank you