public static boolean allowedDeleteSubInfos(GroupStatus status) {
        return status == GroupStatus.TO_BE_SUBMIT
                || status == GroupStatus.APPROVE_REJECTED
                || status == GroupStatus.CONFIG_DELETED;
    }
Checks whether the given status allows deleting other infos,
<p/>
If true, will logically delete all related infos, including streams, sources, sinks, etc.
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/GroupStatus.java