aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionMapper.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionMapper.java')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionMapper.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionMapper.java b/sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionMapper.java
index 6c3978bc10e..28c9af27a76 100644
--- a/sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionMapper.java
+++ b/sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionMapper.java
@@ -54,10 +54,6 @@ public interface GroupPermissionMapper {
void groupsCountByProjectIdAndPermission(Map<String, Object> parameters, ResultHandler resultHandler);
- List<String> selectGroupPermissions(@Param("groupId") long groupId, @Nullable @Param("projectId") Long projectId);
-
- List<String> selectAnyonePermissions(@Nullable @Param("projectId") Long projectId);
-
void insert(GroupPermissionDto dto);
void deleteByRootComponentId(@Param("rootComponentId") long componentId);
@@ -66,4 +62,8 @@ public interface GroupPermissionMapper {
@Nullable @Param("groupId") Long groupId, @Nullable @Param("rootComponentId") Long rootComponentId);
int countRowsByRootComponentId(@Param("rootComponentId") long rootComponentId);
+
+ List<String> selectGlobalPermissionsOfGroup(@Param("organizationUuid") String organizationUuid, @Nullable @Param("groupId") Long groupId);
+
+ List<String> selectProjectPermissionsOfGroup(@Param("organizationUuid") String organizationUuid, @Nullable @Param("groupId") Long groupId, @Param("projectId") long projectId);
}