Link data creation to current authentified user

Hi @Oddwerth,

You can easily access to the user objecti on Authenticated endpoint thanks : ctx.state.user

After that you can create a custom controller based on the core controllers and just put inside the data the ID of the User who called the endpoint.

If you need more details about it: Is Owner - Strapi Developer Documentation

1 Like