Is there a way to hide/disable:
- Job Composer
- Active Jobs
- System Status
I cant seem to find anything in the documentation on how to do it.
Is there a way to hide/disable:
I cant seem to find anything in the documentation on how to do it.
Hi Adam,
This is how I did it. First, you can explicitly set what categories you want you want to appear in the navigation bar of your Dashboard:
# /etc/ood/ondemand.d/ondemand.yml
...
nav_categories: ['Files', 'Jobs', 'Clusters', 'Interactive Apps']
...
From there you could exclude the “Jobs” category entirely. But let’s say you wanted to only exclude the Job Composer but not the Active Jobs – then you can simply change the category for the Job Composer only by editing its manifest:
# /var/www/ood/apps/sys/myjobs/manifest.yml
---
name: Job Composer
category: Jobs_beta
description: |-
Job Composer allows the creation and submission of batch jobs
icon: fas://magic
Since “Jobs_beta” is not in the listed categories, the Job Composer app will not be shown in the navigation bar.
Good luck!
So if you edit the Nav bar, this casues the ordering on files to go wonky.
I was trying not to edit the standard applications incase the rpm update overwrites them.
This also wouldnt hide the service status page.
To disable application simply chmod their directories. Here’s the documentation for the same:
Thanks for the reply @anderss, but you should not be editing these files. Any update to OnDemand will overwrite these files, so you’d have to continually patch it every time you update. (though you may have to do the same with the chmod on the directories, but there is automation support for that).
I understand! I use automation anyway to to keep track of that file and it seemed like an easy way to go about it. Thanks for the explanation.
I did this in the end, I hadn’t realised that they were apps themselves and had wrongly assumed they were some magic within the dashboard app.
A quick chmod 750 while retaining the owner/group as root did the trick.
Thanks!