One example where this is happening is when looking up details of a survey using /ws/bioactivity/data/{id} endpoint. ALA admin JWT should be able to view the data. Actually, ws returns 401.
Cause
ecodata-client-plugin's userInfoService getUserFromJWT should return UserDetails object. ALA admin check are run using hasRole method on that object. Currently, it is returning a Map.
One example where this is happening is when looking up details of a survey using /ws/bioactivity/data/{id} endpoint. ALA admin JWT should be able to view the data. Actually, ws returns 401.
Cause
ecodata-client-plugin's userInfoService getUserFromJWT should return UserDetails object. ALA admin check are run using hasRole method on that object. Currently, it is returning a Map.