biolab-unige / xtens-app

A digital repository for biomedical data based on a flexible JSON data model ( The project has been moved to a new address https://github.com/xtens-suite/xtens-app.git )
http://www.xtens.org
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Projects management #26

Closed gicaz closed 7 years ago

gicaz commented 7 years ago

Handle projects through Groups ( many to many association). Use the existing datatype privileges system to filter a group to a specific set of datatypes (related to a specific project). Operators view only the filtered datatype structure.

Zigur commented 7 years ago

To do it compliant to ISA or other data repositories:

Add 1-to-many project -> dataType Add many-to-many project -> group There would be a ring project-group-dataType

Move privileges from group-dataType to group-project

An option would be denormalize the "Data" type adding an "idProject" field. But is not recommended

Zigur commented 7 years ago

1) Add server-side constraint to dataType parent-child relationship 2) Add list of available projects as a session variable 3) Put the project list in the menu bar (only for users). Switching from a project to the other refresh the data (also for the advanced search) 4) After login add intermediate model to select a project