The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
Hi,
I would like to know if it is possible to hide the Feature Options tab in Courses Settings.
As some of the courses might have more than one teacher assigned and only one of them is allowed to amend the Feature Options.
Any suggestion?
Thanks.
Solved! Go to Solution.
You can add this javascript to block the Feature Options tab, but it would block from all instructors/teachers (admins would still see it in a course):
if($.inArray('admin',ENV['current_user_roles']) == -1) {
| $('#tab-features-link').hide(); |
};
As far as allowing one teacher access, I don't think that is possible at this time. You would have to utilize a custom role to identify which teachers are to have access, but it doesn't seem like custom roles can be referenced in the 'current_user_roles' variable. There was some talk about that here:
Thanks,
Anthony Hess
@adachung_ihub , we've played around with trying to do this with roles with different permissions, but ultimately anyone who has access to Settings has access to Feature Options. My guess is the only way around this is to add some global javascript that would either block all Instructors from seeing this tab or you would need to create a specific role that wasn't able to view this tab. I'm not a programmer and am only guessing at this since it seems like a lot of other stuff can get hidden via global javascript. I'm going to share this with the Canvas Developers group in the Community to see if they an help!
Thanks, @kona !
It's kind of tricky. Which means there is no simple ways that I can get the Feature Options hidden. ![]()
You can add this javascript to block the Feature Options tab, but it would block from all instructors/teachers (admins would still see it in a course):
if($.inArray('admin',ENV['current_user_roles']) == -1) {
| $('#tab-features-link').hide(); |
};
As far as allowing one teacher access, I don't think that is possible at this time. You would have to utilize a custom role to identify which teachers are to have access, but it doesn't seem like custom roles can be referenced in the 'current_user_roles' variable. There was some talk about that here:
Thanks,
Anthony Hess
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.