File tree 1 file changed +2
-3
lines changed
apollo-portal/src/main/java/com/ctrip/framework/apollo/portal/controller
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -323,9 +323,8 @@ public ResponseEntity<Void> deleteCreateApplicationRoleFromUser(@PathVariable("u
323
323
324
324
@ PreAuthorize (value = "@permissionValidator.isSuperAdmin()" )
325
325
@ GetMapping ("/system/role/createApplication" )
326
- public List <String > getCreateApplicationRoleUsers () {
327
- return rolePermissionService .queryUsersWithRole (SystemRoleManagerService .CREATE_APPLICATION_ROLE_NAME )
328
- .stream ().map (UserInfo ::getUserId ).collect (Collectors .toList ());
326
+ public Set <UserInfo > getCreateApplicationRoleUsers () {
327
+ return rolePermissionService .queryUsersWithRole (SystemRoleManagerService .CREATE_APPLICATION_ROLE_NAME );
329
328
}
330
329
331
330
@ GetMapping ("/system/role/createApplication/{userId}" )
You can’t perform that action at this time.
0 commit comments