]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-22559 Remove permissions on GitLab managed groups for GitLab projects
authorAurelien Poscia <aurelien.poscia@sonarsource.com>
Mon, 12 Aug 2024 08:47:57 +0000 (10:47 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 19 Aug 2024 20:02:45 +0000 (20:02 +0000)
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GroupPermissionChange.java

index cb655361bdf7014899c18747a419f45c16a114b8..6577a850b5390bde85b630cfaea3e350306d3c1f 100644 (file)
@@ -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();
+  }
 }