https://prefect.io logo
Title
m

Michael Hadorn

03/29/2021, 12:57 PM
Hi there Is there a way to disable the quick run? Also in the upcoming runs... It's quite dangerous...
d

Dylan

03/29/2021, 2:08 PM
Hi @Michael Hadorn! There is not at this time. In Prefect Cloud there is a “Read Only” user, who does not have have the ability to schedule Flow Runs. But I don’t believe there’s a way to disable the run button in Prefect Server.
z

Zanie

03/29/2021, 2:26 PM
Feel free to open a feature request for our UI team to assess at https://github.com/PrefectHQ/ui/issues
m

Michael Hadorn

03/31/2021, 8:15 AM
Ok. Thanks for your answer. It's done: https://github.com/PrefectHQ/ui/issues/713
z

Zanie

03/31/2021, 3:02 PM
👍 -- by the way, if you want a workaround in the meantime it seems like you could have a parameter "confirm" that defaults to false and have the first task check that parameter. If it's not set then the flow exits, so no Quick runs would succeed.
m

Michael Hadorn

03/31/2021, 3:06 PM
Ah a nice idea. Thanks. But i think in schedules, we can not set parametes with other values the defaults. So then i can not use schedules. Or did I miss something? Anyhow I think, for the schedules, there should be the same options like in the run dialog.
z

Zanie

03/31/2021, 3:08 PM
https://github.com/PrefectHQ/ui/pull/683 should be released soon 🙂
🙌 1
m

Michael Hadorn

03/31/2021, 3:53 PM
oh nice!!! 😍 you guys are awesome!