use of com.ctrip.framework.apollo.portal.entity.vo.AppRolesAssignedUsers in project apollo by ctripcorp.
the class PermissionController method getAppRoles.
@GetMapping("/apps/{appId}/role_users")
public AppRolesAssignedUsers getAppRoles(@PathVariable String appId) {
AppRolesAssignedUsers users = new AppRolesAssignedUsers();
users.setAppId(appId);
Set<UserInfo> masterUsers = rolePermissionService.queryUsersWithRole(RoleUtils.buildAppMasterRoleName(appId));
users.setMasterUsers(masterUsers);
return users;
}
Aggregations