diff options
author | Lukasz Jarocki <lukasz.jarocki@sonarsource.com> | 2023-05-26 15:56:26 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-06-01 20:02:59 +0000 |
commit | b63b8f6cc0b75e4b504ba6a098fc1b059e7069f1 (patch) | |
tree | e10429ba97b3754d97ed4cf4ab9e5a231d59e9bb /server/sonar-db-dao | |
parent | 83bcbca5adf58c923a387c85b6b73bb03e3cfd07 (diff) | |
download | sonarqube-b63b8f6cc0b75e4b504ba6a098fc1b059e7069f1.tar.gz sonarqube-b63b8f6cc0b75e4b504ba6a098fc1b059e7069f1.zip |
SONAR-18856 permissions system now correctly validates subportfolios
Diffstat (limited to 'server/sonar-db-dao')
-rw-r--r-- | server/sonar-db-dao/src/main/java/org/sonar/db/entity/EntityDto.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/entity/EntityDto.java b/server/sonar-db-dao/src/main/java/org/sonar/db/entity/EntityDto.java index 03e0b564dc3..ab4db5a449a 100644 --- a/server/sonar-db-dao/src/main/java/org/sonar/db/entity/EntityDto.java +++ b/server/sonar-db-dao/src/main/java/org/sonar/db/entity/EntityDto.java @@ -36,7 +36,7 @@ public class EntityDto { protected String authUuid; public String getAuthUuid() { - if (qualifier.equals("SVW")) { + if ("SVW".equals(qualifier)) { return authUuid; } return uuid; |