UI Usage statistics only available to administrators after 7.5 upgrade

68 views
Skip to first unread message

Agustina Martinez-Garcia

unread,
Mar 1, 2023, 3:55:10 PM3/1/23
to DSpace Technical Support
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

Agustina Martinez-Garcia

unread,
Mar 1, 2023, 4:16:23 PM3/1/23
to DSpace Technical Support
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
Reply all
Reply to author
Forward
0 new messages