Cannot poppulate has many relation

System Information
  • Strapi Version: 4.15.5
  • Database: MySQL
  • Node Version: 18.16.0
  • NPM Version: 9.6.5

A collection “order-position” has a “has many”-relation to “part-order-position”. I set “find” and “find one” rights to the collections. part-order-position has the draft-publish system. order-positions not.

Neither:
http://localhost:1337/api/order-positions/294?populate=part_order_positions
nor
http://localhost:1337/api/order-positions/294?populate=*
populates the connected part-order-position.

Is this a bug in 4.15.5?

It was a rights issue. Had an old bearer token in postman, that seams not to have access to part-order-position.

1 Like