Closed marxide closed 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.
False
User
str
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 aUser
object with astr
.