Disable Feature Options Tab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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.