aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-auth/src
diff options
context:
space:
mode:
authorLukasz Jarocki <lukasz.jarocki@sonarsource.com>2023-05-26 15:56:26 +0200
committersonartech <sonartech@sonarsource.com>2023-06-01 20:02:59 +0000
commitb63b8f6cc0b75e4b504ba6a098fc1b059e7069f1 (patch)
treee10429ba97b3754d97ed4cf4ab9e5a231d59e9bb /server/sonar-webserver-auth/src
parent83bcbca5adf58c923a387c85b6b73bb03e3cfd07 (diff)
downloadsonarqube-b63b8f6cc0b75e4b504ba6a098fc1b059e7069f1.tar.gz
sonarqube-b63b8f6cc0b75e4b504ba6a098fc1b059e7069f1.zip
SONAR-18856 permissions system now correctly validates subportfolios
Diffstat (limited to 'server/sonar-webserver-auth/src')
-rw-r--r--server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java b/server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java
index 44ee9a5e252..62276076f39 100644
--- a/server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java
+++ b/server/sonar-webserver-auth/src/main/java/org/sonar/server/user/AbstractUserSession.java
@@ -103,7 +103,7 @@ public abstract class AbstractUserSession implements UserSession {
@Override
public final boolean hasEntityPermission(String permission, EntityDto entity) {
- return hasProjectUuidPermission(permission, entity.getUuid());
+ return hasProjectUuidPermission(permission, entity.getAuthUuid());
}
@Override