askap-vast / vast-pipeline

This repository holds the code of the Radio Transient detection pipeline for the VAST project.
https://vast-survey.org/vast-pipeline/
MIT License
8 stars 3 forks source link

regular users cannot start runs #562

Closed marxide closed 3 years ago

marxide commented 3 years ago

https://github.com/askap-vast/vast-pipeline/blob/c1e4f8762dd64c9b133caa8e8c06ac3c9e47c2a1/vast_pipeline/views.py#L277-L290

The conditional above is checked when a user tries to launch a run from the web UI. It will always return False for regular (non-admin) users since it is comparing a User object with a str.