diff options
author | Aurelien Poscia <aurelien.poscia@sonarsource.com> | 2024-08-12 10:47:57 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-08-19 20:02:45 +0000 |
commit | b24b45c140ff48bdc89f8daf85a4f9182f5ef2fb (patch) | |
tree | d5ba78614655d251a3a1dcafdc01b6ee591de7c1 | |
parent | b3cb7680a75b804c1e88a74bb516488fc814f6f8 (diff) | |
download | sonarqube-b24b45c140ff48bdc89f8daf85a4f9182f5ef2fb.tar.gz sonarqube-b24b45c140ff48bdc89f8daf85a4f9182f5ef2fb.zip |
SONAR-22559 Remove permissions on GitLab managed groups for GitLab projects
-rw-r--r-- | server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GroupPermissionChange.java | 12 |
1 files changed, 11 insertions, 1 deletions
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(); + } } |