From: Aurelien Poscia Date: Mon, 12 Aug 2024 08:47:57 +0000 (+0200) Subject: SONAR-22559 Remove permissions on GitLab managed groups for GitLab projects X-Git-Tag: 10.7.0.96327~239 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b24b45c140ff48bdc89f8daf85a4f9182f5ef2fb;p=sonarqube.git SONAR-22559 Remove permissions on GitLab managed groups for GitLab projects --- diff --git a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GroupPermissionChange.java b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GroupPermissionChange.java index cb655361bdf..6577a850b53 100644 --- a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GroupPermissionChange.java +++ b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GroupPermissionChange.java @@ -20,6 +20,7 @@ package org.sonar.server.common.permission; import java.util.Optional; +import java.util.StringJoiner; import javax.annotation.Nullable; import org.sonar.db.entity.EntityDto; import org.sonar.db.user.GroupDto; @@ -49,5 +50,14 @@ public class GroupPermissionChange extends PermissionChange { return getGroupUuidOrAnyone().getUuid(); } - + @Override + public String toString() { + return new StringJoiner(", ", GroupPermissionChange.class.getSimpleName() + "[", "]") + .add("groupDto=" + groupDto) + .add("operation=" + getOperation()) + .add("permission='" + getPermission() + "'") + .add("entity=" + getEntity()) + .add("permissionService=" + permissionService) + .toString(); + } }