canvas-lms/lib/api/v1
Nick Cloward 711f33c07e add option for course grade change (log auditing)
fixes: CNVS-348

This adds grade change auditing functionality.  It uses cassandra and is built
after the authenication auditing.  A new API endpoint was created to query these
logs.  Permissions for this is a domain account.  The logs can be quiried by
assignment, course, student, and grader.

Refer to: https://gollum.instructure.com/grade-auditor-implementation

Test Case:

  Setup:
    - Create a course with a student and an assignment.

  1. Grade an assignment for a student.
  2. The auditor should create a record in cassandra.
  3. Query the endpoint should return the audit event.
      - Query by Assignment
      - Query by Course
      - Query by Student
      - Query by Grader
  4. Ensure permissions are valid by querying with a non root account admin.
  5. Permissions should be changable by site_admin under account permissions.

Change-Id: I0a1cf867d5d1b5bfbdeacc7eac81747f8732025a
Reviewed-on: https://gerrit.instructure.com/25961
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Product-Review: Nick Cloward <ncloward@instructure.com>
2013-11-21 20:53:27 +00:00
..
account.rb make terms-of-use enforcement configurable 2013-08-01 21:06:22 +00:00
account_authorization_config.rb allow multiple saml auth configs and full aac api 2012-10-03 15:23:56 -06:00
account_report.rb add attachment object to account reports api 2013-06-26 17:25:19 +00:00
admin.rb add index and delete endpoints to admins api 2013-02-08 13:37:51 -07:00
api_context.rb gradebook history api 2013-02-12 08:32:24 -07:00
assignment.rb add option for course grade change (log auditing) 2013-11-21 20:53:27 +00:00
assignment_group.rb check .draft_state_enabled? on correct context in assignments api 2013-10-29 22:05:39 +00:00
assignment_override.rb limit fake_arel caveats to rails2 2013-11-19 19:46:30 +00:00
attachment.rb quiz submissions files api 2013-11-08 20:57:02 +00:00
authentication_event.rb Auditors::Authentication 2013-07-12 16:10:33 +00:00
avatar.rb bigger profile pictures 2012-08-21 16:25:55 -06:00
calendar_event.rb fix assignment_json's terrible signature 2013-07-10 17:03:06 +00:00
collaborator.rb add new collaborator picker interface. fixes #CNVS-1160 2013-01-11 09:57:04 -07:00
collection.rb items and followers counts for collections 2012-06-18 11:04:58 -06:00
comm_message.rb Add API for admins to access user messages 2013-04-11 19:38:02 +00:00
communication_channel.rb api: convert communication channels to @object/@returns 2012-08-28 11:20:13 -06:00
conferences.rb add checkbox to enable BBB recording to BBB plugin settings 2013-06-13 17:53:46 +00:00
content_migration.rb extend content migration progress visibility and status view 2013-10-01 18:17:21 +00:00
context.rb fix showing discussion entries from collection items in stream api 2012-08-03 09:05:47 -06:00
context_module.rb UI and API for publish final grade upon module completion 2013-10-15 21:59:37 +00:00
conversation.rb stringify audience field in conversations api if requested 2013-11-14 21:06:34 +00:00
course.rb add option for course grade change (log auditing) 2013-11-21 20:53:27 +00:00
course_json.rb Add a permission option in the api to return if the user can create topics. 2013-09-30 14:32:48 +00:00
developer_key.rb developer keys mgmt page 2012-07-18 09:13:52 -06:00
discussion_topics.rb discussions: add publish icon to index and show pages 2013-11-20 21:33:25 +00:00
enrollment_term.rb add sis_term_id to term JSON (if allowed) 2013-07-22 21:22:35 +00:00
external_feeds.rb fix up announcement external feeds API 2012-08-30 12:39:17 -06:00
external_tools.rb backbone dialog for lti content return 2013-06-17 19:00:55 +00:00
favorite.rb favorite courses api, closes #9178 2012-07-11 11:04:46 -06:00
feature_flag.rb return 'hidden' flag in list features API 2013-11-20 21:03:58 +00:00
folders.rb fix return type for locked_for_user in folders api 2012-08-17 08:56:00 -06:00
grade_change_event.rb add option for course grade change (log auditing) 2013-11-21 20:53:27 +00:00
gradebook_history.rb fix gradebook history api previous_* fields 2013-10-16 18:54:08 +00:00
group.rb support for student organized groups in new ui, fixes CNVS-8210 2013-11-08 23:32:47 +00:00
group_category.rb support for student organized groups in new ui, fixes CNVS-8210 2013-11-08 23:32:47 +00:00
json.rb discussion topics materialized view api, refs #7567 2012-03-22 12:49:49 -06:00
locked.rb change APIs to return consistent locking information 2013-06-07 21:41:31 +00:00
media_object.rb Allow uploading subtitle tracks to videos 2013-02-01 12:53:16 -07:00
notification.rb Rewrite of the Notification Preferences page. Closes #8066, Closes #9400 2012-07-25 10:04:36 -06:00
notification_policy.rb Update NotificationPolicy setting for all notifications in category. 2012-07-31 09:55:15 -06:00
outcome.rb add vendor_guid to api for outcomes and outcome groups 2013-06-22 03:21:17 +00:00
page_view.rb add option for course grade change (log auditing) 2013-11-21 20:53:27 +00:00
preview_html.rb create course and group endpoints to preview html processing 2013-06-26 16:52:51 +00:00
progress.rb course batch update api 2013-01-29 14:06:03 -07:00
pseudonym.rb Auditors::Authentication 2013-07-12 16:10:33 +00:00
quiz.rb Controlling visibility of student quiz scores 2013-11-20 22:08:21 +00:00
quiz_group.rb convert quiz groups to json api format, and add destroy to api on quiz groups 2013-11-05 17:37:33 +00:00
quiz_statistics.rb async quiz report generation UI, fixes CNVS-4512 2013-05-08 23:11:52 +00:00
quiz_submission.rb Quiz Submissions API - Index 2013-11-20 21:57:19 +00:00
role.rb ui enabling admins to search notifications 2013-04-16 22:11:16 +00:00
section.rb arel-ify lib 2013-04-01 19:12:22 +00:00
stream_item.rb cleanup per_page values for json pagination 2013-11-12 21:24:18 +00:00
submission.rb Quiz Submissions API - Index 2013-11-20 21:57:19 +00:00
tab.rb sessionless launch of LTI tools 2013-05-25 00:06:39 +00:00
todo_item.rb make needs-grading counts respect sections; fixes #11001 2012-10-09 08:44:26 -06:00
user.rb Auditors::Authentication 2013-07-12 16:10:33 +00:00
user_follow.rb following models and API, closes #8713 2012-06-05 13:11:20 -06:00
user_profile.rb return time zone in user profile api 2013-07-25 16:46:32 +00:00
wiki_page.rb add latest indicator to page revisions 2013-11-13 17:42:16 +00:00