public static boolean allowedUpdate(ConsumeStatus status) {
        return status == ConsumeStatus.TO_BE_SUBMIT
                || status == ConsumeStatus.APPROVE_REJECTED
                || status == ConsumeStatus.APPROVE_CANCELED;
    }
Checks whether the given status allows the update.
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/ConsumeStatus.java