LTI Restrictions (for instructors)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does anyone have suggestions on how to prevent instructors from installing non-vetted LTI tools or preventing tools from being added at the course level?
Thanks,
Anthony Hess
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Anthony,
This is what I am using to exclude the buttons from everyone except an account-level admin. You should be able to add the button for "Add App" in there to hide it from all other roles as well.
$(document).ready(function(){
if($.inArray('admin',ENV['current_user_roles']) == -1) {
$("a.btn.button-sidebar-wide.delete_course_link").hide();
$("a.btn.button-sidebar-wide.reset_course_content_button").hide();
$("a[href*='confirm_action?event=conclude']").hide();
$('a.no-hover.edit_section_link').hide();
$('a.no-hover.cant_delete_section_link').hide();
$('#add_section_form').hide();
$('input#course_section_name').hide();
$('#add_section_form > button').hide();
}
})
Shane
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.