osparc-simcore icon indicating copy to clipboard operation
osparc-simcore copied to clipboard

In Storage, add filtering by product to the data listing.

Open matusdrobuliak66 opened this issue 1 year ago • 1 comments

User Story

In Storage, add filtering by product to the data listing. We want to prevent users in Sim4Life from seeing data from Osparc, and vice versa.

matusdrobuliak66 avatar Apr 14 '25 14:04 matusdrobuliak66

Discussed on 16.10.2025 with @matusdrobuliak66 and @sanderegg

  • This issue does not block merging deployments. The only consequence is that users from sim4life.io/science will be able to see data from osparc.io, and vice versa. However, this situation already exists, for example, between osparc.io and s4l-lite.io.

  • The files table is missing the product_name column.

  • To populate this column, we need to determine the correct product based on the node_id.

  • In some cases, the project or node corresponding to a node_id may not exist — for example, when files are uploaded directly through the public API. In such cases, the value will be null, and we need to support this scenario for now (the file will appear in all products).

  • Ideally, even in these cases, we should start filling the product_name column when possible.

  • We should also add filtering by product_name.

matusdrobuliak66 avatar Oct 16 '25 15:10 matusdrobuliak66