From 8c933019b0404716488e8c919c2b7571a425e9ee Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Tue, 15 Nov 2016 15:20:54 +0100 Subject: Project admin permission is not considered as a System Admin --- .../src/main/resources/org/sonar/db/permission/AuthorizationMapper.xml | 1 + .../src/test/java/org/sonar/db/permission/AuthorizationDaoTest.java | 2 ++ 2 files changed, 3 insertions(+) (limited to 'sonar-db') diff --git a/sonar-db/src/main/resources/org/sonar/db/permission/AuthorizationMapper.xml b/sonar-db/src/main/resources/org/sonar/db/permission/AuthorizationMapper.xml index 6c132aeb434..d5e441bcbce 100644 --- a/sonar-db/src/main/resources/org/sonar/db/permission/AuthorizationMapper.xml +++ b/sonar-db/src/main/resources/org/sonar/db/permission/AuthorizationMapper.xml @@ -28,6 +28,7 @@ where ur.organization_uuid=#{organizationUuid,jdbcType=VARCHAR} and ur.user_id=#{userId,jdbcType=BIGINT} + and ur.resource_id is null