strapi-plugin-populate-deep icon indicating copy to clipboard operation
strapi-plugin-populate-deep copied to clipboard

Strapi new mechanism to populate createdBy and updatedBy blocked by the plugin

Open cantkillemall opened this issue 2 years ago • 1 comments

When using the new option in content-type's schemas "populateCreatorFields": true, (see docs here) the plugin blocks population due to : server/helpers/index.js, lines 16-18

 if (modelUid === "admin::user") {
    return undefined;
 }

because you explicity drop any info related to "admin::user".

Can you please update your plugin by dropping these 3 lines to allow population? I have deleted these 3 lines inside your files in my node_modules folder and this works perfectly. Thanks!

cantkillemall avatar Oct 22 '22 15:10 cantkillemall

Has been resolved on v1.1.0 https://github.com/Barelydead/strapi-plugin-populate-deep/releases/tag/v1.1.0

m7rlin avatar Oct 25 '22 20:10 m7rlin