<?xml version="1.0" encoding="UTF-8"?>
<changelog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://www.liquigraph.org/schema/1.0/liquigraph.xsd">
    <changeset id="PLATFORM-main-vendor-star-profiles:1" author="ratoui" run-on-change="true" run-always="true">
        <query>
            <![CDATA[
                MATCH (i:Identity)-[:HAS_PROFILE]->(p:Profile { fullCatalogAccess: true })
                WHERE NOT (p)-[:HAS_ACCESS_TO|:HAS_ADMIN_ACCESS_TO]->(:Vendor { id: '*'})
                WITH p
                MATCH (v:Vendor { id: '*' })
                CREATE (p)-[:HAS_ACCESS_TO]->(v)
            ]]>
        </query>
    </changeset>
</changelog>
