diff options
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/user/AuthorizationMapper.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/user/AuthorizationMapper.xml b/sonar-core/src/main/resources/org/sonar/core/user/AuthorizationMapper.xml index f2338f3bddc..b8f800fbb70 100644 --- a/sonar-core/src/main/resources/org/sonar/core/user/AuthorizationMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/user/AuthorizationMapper.xml @@ -12,7 +12,7 @@ and gr.resource_id = s.root_project_id and s.project_id in <foreach item="componentId" index="index" collection="componentIds" open="(" separator="," close=")">#{componentId}</foreach> and s.islast = ${_true} - UNION DISTINCT + UNION SELECT s.project_id FROM user_roles ur, snapshots s WHERE |