Amsterdam-Music-Lab / MUSCLE

An application to easily set up and run online listening experiments for music research.
https://www.amsterdammusiclab.nl/
MIT License
4 stars 1 forks source link

Allow admin users to deactivate Experiment Collections #1124

Closed drikusroor closed 2 weeks ago

drikusroor commented 2 weeks ago

Is your feature request related to a problem? Please describe. Currently, whenever an admin user creates an experiment collection, it is online automatically. There is currently no way to let's say "draft" an experiment collection before publishing it / releasing it into the world.

Describe the solution you'd like Just like the "active" property, an "active" property should be added to the experiment collection model. It should be active (True) by default. If it is set to false and get_experiment_collection endpoint is called, it should return a 404 - not found.