In case others ever experience something similar: I have found our issue, which was down to having accidentally deleted from the resourcepolicy table the row that granted was granting anonymous read permissions on the site object. I have restored this row and I can confirm that the configuration settings are working as expected and we can now see the statistics menus for our public collections and items.
Best, Agustina On Wednesday, 1 March 2023 at 20:55:10 UTC Agustina Martinez-Garcia wrote: > Hi, > > After the upgrade from 7.4 to 7.5, we are not able to see in the UI the > usage statistics via the statistics paths, e.g. > https://demo7.dspace.org/statistics, unless we are logged in as > administrators. > > We haven't changed any of the previous settings: > > #Backend > usage-statistics.authorization.admin.usage = false > > In the backend logs we always see: > org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ > Authentication is required (status:401 exception: Access is denied at: > org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:73)) > > Is anybody else experiencing similar issues? > > Best, > Agustina > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/03f978e8-8782-4ffb-962d-539bd0b20e90n%40googlegroups.com.
