Jump to conversation
Unresolved conversations (0)
Nice work!

Nice work!

All of your conversations have been resolved.

Resolved conversations (2)
@alexandrebodin alexandrebodin Jun 15, 2021
you can populate only the roles in the findOne
Outdated
...plugin-upload/controllers/upload/admin.js
Convly
Jean-Sébastien Herbaux
@alexandrebodin alexandrebodin Jun 15, 2021
we actually need the created_by.id too for the isOwner condition. so you need to find the user with the roles instead of just the roles
Outdated
...plugin-upload/controllers/upload/admin.js