diff --git a/services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java b/services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java index e54eeaaf9a..e089f86d0f 100644 --- a/services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java +++ b/services/src/main/java/org/fao/geonet/api/es/EsHTTPProxy.java @@ -434,7 +434,7 @@ public String buildPermissionsFilter(ServiceContext context) throws Exception { // If admin you can see all if (Profile.Administrator.equals(userSession.getProfile())) { - return "*"; + return "*:*"; } else { // op0 (ie. view operation) contains one of the ids of your groups Set groups = accessManager.getUserGroups(userSession, context.getIpAddress(), false);