Hide Course Navigation links from TAs or Teachers

Jump to solution
Flib
Community Explorer

Hi,

When I hide an item from the Course Navigation setting inside a course it by default only hides from students. There is a way to hide from another user? for example TAs or Teachers?

It looks like have a way to do it via API, but that will not be my case now.

 

Thank you

Labels (1)
0 Likes
2 Solutions
Flib
Community Explorer

@nwilson7 

I saw this API below example on this discussion: Is it possible to hide an items in the course navi... - Instructure Community (canvaslms.com)

PUT /api/v1/courses/896851/tabs/files?hidden=1‍

 

But the API call needs to be done by each course. Fore sure JS looks much simple. I'll test in my beta environment.

View solution in original post

0 Likes
Flib
Community Explorer

@nwilson7 

You are correct just tested it. The API I mention is the same thing that goes to Settings and hide it, so only for students.

I also tried the JS method, but on the other hand, it hides from the HTML rendering, so even the admin stop to see it.

Do you know if it's possible to the below run for a specific role? Meanwhile, I'll test the Student alternative.

 

$(document).ready(function(){
$('a.syllabus').hide();
});

 

View solution in original post

0 Likes