@niamu Ok I see. That's kind of what I was beginning to lean towards. Thanks for the tip!
I've finished another first draft of passing the boolean through the main. https://github.com/onyx-platform/onyx-dashboard/pull/88
Thanks @niamu for your submission. I tested it and it does not work as is. But I think you got the right idea to use environment variables
I adapted it to make it work, you just need to get to the right value in the deployments
map of the app-state, but preferably I think it may be better to create a separate route in the server.clj
Yeah, admittedly mine is a bit hacked in to the current deployment listing route. I rationalized the hack to myself thinking that there may be a future reason to turn off management of only some jobs and not all jobs, but I’m not sure how that would be handled.