--- JS in this post is deprecated, please see solution from July '25
Hi @martin_kabat,
2 options here, both require adding them to the Canvas Theme.
CSS will hide them whenever they load on the page, for Everyone, even Admin.
#course_details_tabs #navigation_tab,
#course_details_tabs #integrations_tab {
display: none;
}
JavaScript can remove them for any non-admin user.
// remove these tabs for non-admin users
(function () {
'use strict';
if (/\/courses\/\d+\/(details|settings)/.test(window.location.pathname)) {
if (!['admin'].some(a => ENV.current_user_roles.includes(a))) {
document.getElementById('integrations_tab').remove();
document.getElementById('navigation_tab').remove();
}
}
})();