Barelydead / strapi-plugin-populate-deep

A Strapi plugin that makes it easier to populate deep content structures
172 stars 39 forks source link

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

Open cantkillemall opened 1 year ago

cantkillemall commented 1 year ago

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!

m7rlin commented 1 year ago

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