canvas-lms/lib/address_book
August Thornton 3f6686e042 include admin_context on calls to address book user counts
fixes USERS-539
flag = none

test plan:
 - As an admin not enrolled in the course
   - Navigate to the People page
   - Have two different course sections with enrollments
   - Click the hamburger menu for a user and select
     the 'edit sections' option
   - Search for the section for which the user is not enrolled
   - Verify it returns the proper Section enrollment count
     that is non zero

Change-Id: Ib4e910878651fb80a450258237e43c56138dd528
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/239597
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
Product-Review: August Thornton <august@instructure.com>
2020-06-10 16:49:07 +00:00
..
base.rb Fix blank conversation_id param for conversations 2017-10-03 16:59:17 +00:00
caching.rb da licença part 25 2017-04-27 21:51:40 +00:00
empty.rb count_in_contexts instead of count_in_context 2017-07-07 16:52:00 +00:00
messageable_user.rb include admin_context on calls to address book user counts 2020-06-10 16:49:07 +00:00
performance_tap.rb count_in_contexts instead of count_in_context 2017-07-07 16:52:00 +00:00
service.rb Fix blank conversation_id param for conversations 2017-10-03 16:59:17 +00:00