pimcore / data-importer

This extension adds a comprehensive import functionality to Pimcore Datahub.
Other
38 stars 56 forks source link

[Feature]: Automaticaly set imported element userModification #418

Closed root913 closed 1 week ago

root913 commented 1 month ago

This PR solves problem of identifying who is the author of object change for manualy triggered imports.

As of now every object that was changed by import had userModification set to 0 (that is system user). This change introduce new column "userOwner" to queue table that by default is set to 0. If user manualy trigger import it's user id is passed to queue item and later in import process it is set to element userModification property. This will not affect automatic/cron imports.

github-actions[bot] commented 1 month ago

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

root913 commented 1 month ago

I have read the CLA Document and I hereby sign the CLA

root913 commented 2 weeks ago

I noticed that latest migration is specified in Installer class (method: getLastMigrationVersionClassName) - should i update it also?

mattamon commented 2 weeks ago

@root913

I noticed that latest migration is specified in Installer class (method: getLastMigrationVersionClassName) - should i update it also?

That would be awesome yeah!