diff options
author | Aurelien Poscia <aurelien.poscia@sonarsource.com> | 2024-08-07 14:47:11 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-08-19 20:02:44 +0000 |
commit | 240d05623b7251933d9e0f86e665f16c1d5fb8f6 (patch) | |
tree | 0d522b1a52c4a895d2eb5a38afca6bda38779b2f | |
parent | c2c94079901598f28301fffb1d65d4d27974e5a7 (diff) | |
download | sonarqube-240d05623b7251933d9e0f86e665f16c1d5fb8f6.tar.gz sonarqube-240d05623b7251933d9e0f86e665f16c1d5fb8f6.zip |
SONAR-22559 Auto-provision GitLab project permissions for users
-rw-r--r-- | server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/PermissionChange.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/PermissionChange.java b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/PermissionChange.java index 30173c3def7..f8145176f9f 100644 --- a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/PermissionChange.java +++ b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/PermissionChange.java @@ -19,6 +19,7 @@ */ package org.sonar.server.common.permission; +import java.util.StringJoiner; import javax.annotation.CheckForNull; import javax.annotation.Nullable; import org.sonar.db.entity.EntityDto; @@ -74,4 +75,14 @@ public abstract class PermissionChange { } public abstract String getUuidOfGrantee(); + + @Override + public String toString() { + return new StringJoiner(", ", PermissionChange.class.getSimpleName() + "[", "]") + .add("operation=" + operation) + .add("permission='" + permission + "'") + .add("entity=" + entity) + .add("permissionService=" + permissionService) + .toString(); + } } |