instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.45k stars 2.44k forks source link

Same person being admin in a subaccount but also being a student at another faculty sees to many events in her studentcalendar #2090

Open 50065006 opened 1 year ago

50065006 commented 1 year ago

Summary:

Problem: Admin in sub-account A is a student in courses contained in sub-account B. When viewing the course calendar for the courses they take in B, they see the instructor view, not the student view. In our case they see events tied to specific sections, even though they are not a member of any sections in the course.

Steps to reproduce:

1.Add person as an admin to a sub-account A 2.Add said person to a course with calendar events tied to course sections in sub-account B, where they have no admin rights 3.Go to course calendar and see section specific events show up

Expected behavior:

Actual behavior:

Additional notes: