public static boolean allowedUpdateSource(GroupStatus status) {
        return status == GroupStatus.CONFIG_SUCCESSFUL
                || status == GroupStatus.CONFIG_FAILED;
    }
Checks whether the given status allows updating stream source.
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/GroupStatus.java