explain what this line in the api documentation "courses" actually means please

jsimon3
Community Participant

https://canvas.instructure.com/doc/api/courses.html#method.courses.user_index
So in this partition is a line that states:
"Returns a paginated list of active courses for this user. To view the course list for a user other than yourself, you must be either an observer of that user or an administrator."

The partition that I have a question about is the administrator section. Unlike other endpoints it does not

state root_admin so is this dependent on:
user- current_user_roles: including admin

or can I define permissions and list: 
user- current_user_types: and define a permissions

currently defining a role and including:
Course Content - view, Courses - view list, Grades - view all grades, SIS Data - read, Users - act as, Users - view list ...
does not work

0 Likes