canvas-lms/app/presenters
Keith Garner 3899ae44ff allow teachers to see inactive enrollments for grade summaries
GradeSummaryPresenter will now return enrollments for inactive
students if the user requesting the enrollment has permissions to
manage or view grades for the course.

closes CNVS-28387

test plan:
 - Create a course with a teacher, an active student, and an inactive
   student
 - Ensure that the active student can see their grades page
 - Ensure that the inactive student receives an unauthorized message
   when trying to visit the grades page directly by URL.
 - Ensure that the teacher can see both the active and inactive
   students grade page.

Change-Id: Ie68c2f6ea38273077d119f6dc579cde9d0594d98
Reviewed-on: https://gerrit.instructure.com/78268
Tested-by: Jenkins
Reviewed-by: Derek Bender <djbender@instructure.com>
Reviewed-by: Jeremy Neander <jneander@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Christi Wruck
2016-04-30 01:55:35 +00:00
..
quizzes fix Style/EmptyLineBetweenDefs issue 2015-04-29 16:28:39 +00:00
account_authorization_configs_presenter.rb JIT provisioning 2015-12-09 17:00:45 +00:00
course_for_menu_presenter.rb course nicknames 2015-10-21 23:03:51 +00:00
discussion_topic_presenter.rb remove non-draft-state everything 2014-12-10 17:57:18 +00:00
grade_summary_assignment_presenter.rb remove float rounding monkey-patch 2016-04-22 18:17:18 +00:00
grade_summary_presenter.rb allow teachers to see inactive enrollments for grade summaries 2016-04-30 01:55:35 +00:00
grades_presenter.rb rails 4.2: fix controller, integration and view specs 2016-01-22 20:01:11 +00:00
mark_done_presenter.rb Add 'mark done' module progression constraint 2015-05-08 09:17:10 +00:00
override_list_presenter.rb apply dual timezone filters 2014-05-23 19:01:34 +00:00
override_tooltip_presenter.rb various i18n fixes 2014-10-28 19:05:56 +00:00
section_tab_presenter.rb Fix fragile dashboard card spec 2015-10-01 21:52:38 +00:00
to_do_list_presenter.rb Show actual assignments to grade up to 999 2016-03-01 20:04:36 +00:00