Open floradanna opened 2 years ago
@rabuono something to figure out
[ ] Add sharing permission to CV list: by default the same as the Sample type that uses it (sharing permission for Sample type are still to be implemented).
[ ] Keep possibility
[ ] hide dropdown for CV
Describe the bug When creating a new sample_controlled_vocabs (in both Template and Sample Type), if I give an existing CV title SEEK gives warning error, since CV titles must be unique and no duplicates are allowed. However, if I look at the list of existing CV titles I see many duplicates (e.g., library source is listed 4 times at least).
To Reproduce See screenshot below and then:
This is in contrast with the following error:
Expected behavior Consistent behaviour, although I don't know yet what that would be. To be discussed.
Desktop (please complete the following information):
Additional context In DataHub, the same attribute (like, library source) with the same CV list (titled library source as well) will be "used" many many times by derived templates (via Create Template based on existing templates) and derived sample types (via applying the same template to many studies or assays). So, I think this is what it is causing having repeated CV list titles in the dropdown menu. However, this is in contrast with default SEEK rule that prohibits having repetition of the same title in CV list.
Questions: