Closed
Description
This issue was initially discussed in #850 but we realized that this will require bigger modifications to actually work well.
Description:
Let's imagine that a study has 2 raw datas (A/B) and 2 prep templates (1/2) in each one (for clarity, we will have A1, A2, B1, and B2). Then the users makes public the study because A1 was published, then all the other raw datas + prep templates will also be public, which is not OK. What we will need to have is that the user makes public a process data, then all the files that generated that "biom" become public. We will display public studies based on their public process data.