]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9140 drop unused SQL query selectRootComponentPermissionsOfAnonymous
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 14 Apr 2017 15:50:36 +0000 (17:50 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 27 Apr 2017 12:25:54 +0000 (14:25 +0200)
server/sonar-db-dao/src/main/resources/org/sonar/db/permission/AuthorizationMapper.xml

index eda18667c6408c376735cdf1fc158bcc861545d4..5757414332ec6d7dfaa1c732ee875ae6f6331815 100644 (file)
     gr.group_id is null
   </select>
 
-  <select id="selectRootComponentPermissionsOfAnonymous" parameterType="map" resultType="string">
-    select gr.role
-    from group_roles gr
-    where
-    gr.resource_id=#{rootComponentId,jdbcType=BIGINT} and
-    gr.group_id is null
-  </select>
-
   <select id="countUsersWithGlobalPermissionExcludingGroup" parameterType="map" resultType="int">
     select count(1) from
     (