Hi there Is there a way to disable the quick run? ...
# prefect-server
m
Hi there Is there a way to disable the quick run? Also in the upcoming runs... It's quite dangerous...
d
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
Feel free to open a feature request for our UI team to assess at https://github.com/PrefectHQ/ui/issues
m
Ok. Thanks for your answer. It's done: https://github.com/PrefectHQ/ui/issues/713
z
👍 -- 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
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
https://github.com/PrefectHQ/ui/pull/683 should be released soon 🙂
🙌 1
m
oh nice!!! 😍 you guys are awesome!