Skip to content

Commit

Permalink
so to really let user see everything, cf. geonetwork/core-geonetwork@b…
Browse files Browse the repository at this point in the history
  • Loading branch information
cmangeat committed Nov 28, 2023
1 parent 66877c0 commit f9edb0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<Integer> groups = accessManager.getUserGroups(userSession, context.getIpAddress(), false);
Expand Down

0 comments on commit f9edb0b

Please sign in to comment.