prefect icon indicating copy to clipboard operation
prefect copied to clipboard

Runner Role not able to view full schedule context, leading one to believe it is enabled when it is disabled

Open pdmthorsrud opened this issue 1 year ago • 1 comments

Bug summary

I can see a schedule toggle in a deployment, leading me to believe it is enabled. The deployment is however disabled, and there seems to be more schedule toggles laying around, which I cannot see. First image is what I as a runner role sees, and second is what someone with admin sees.

image bilde

Not sure if the difference is one are individual toggles, and the other is a higher level of toggle, or something else?

I'd like to be able to see the full context of a deployment's schedule, even though I am "only" a runner role, considering that is vital information when I am investigating an issue or similar.

Version info (prefect version output)

Running prefect cloud

Additional context

A similar issue was seen in https://github.com/PrefectHQ/prefect/issues/15071, and resolved in https://github.com/PrefectHQ/prefect-ui-library/pull/2692 giving me access to see the schedule toggle I'm now seeing, but I'm stilling missing the full context of a schedule

pdmthorsrud avatar Sep 25 '24 07:09 pdmthorsrud

After some digging I realise all of this has popped up as a problem when you switched from single schedule to support for multiple schedules (I'm guessing).

From what I gather you moved away from is_schedule_active to a paused functionality, and I'm assuming it is this paused functionality I'm not seeing in the UI.

pdmthorsrud avatar Oct 15 '24 14:10 pdmthorsrud