private PermissionInfo getAllPermissions() {
        List<ResourceVO> resourceVOList = resourceMapper.selectAll()
                .stream()
                .filter(r -> !properties.getOnlySuperAdminPermission().contains(r.getPerms()))
                .map(ResourceVO::buildResourceVO)
                .collect(Collectors.toList());
        return PermissionInfo.builder()
                .treeList(getTreeModelList(resourceVOList))
                .permissionIds(ListUtil.map(resourceVOList, ResourceVO::getId))
                .build();
    }
get all permissions.

@return {@linkplain PermissionInfo}
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RoleServiceImpl.java