How to disable Job Composer?

I read this page in the documentation, from which I took away that I could disable the entire jobs entry in the menu by adding the following to /etc/ood/config/apps/dashboard/initializers/ood.rb

NavConfig.categories_whitelist=true
NavConfig.categories=[“Files”, “Clusters”, “Interactive Apps”]

What I actually got was a 404 style

We're sorry, but something went wrong.

The issue has been logged for investigation. Please try again later.

Ideally I’d just remove the Job Composer line instead of the whole menu item.

Indeed this feature would be handy for one of my deployments.

Hey, I’m so sorry we missed this help request. What’s the error you’re seeing in the /var/log/ondemand-nginx/$USER/error.log?

FWIW,

NavConfig.categories=["Files","Clusters","Interactive Apps"]
NavConfig.categories_whitelist=true

works as expected in ondemand 2.0.113 when placed in /etc/ood/config/apps/dashboard/initializers/ood.rb
Spelling and syntax matter a lot here :slight_smile: Botch a " in that array definition, and you get the big red X. Spell an item wrong, and the item doesn’t appear…