canvas-lms/lib
Neil Gupta 9b7ec59ee6 anonymize gradeable students endpoint
fixes GRADE-898 GRADE-1023

test plan:
1. create a course with 3 teachers and 1 student
2. create an anonymously graded and moderated assignment with 2 graders
3. as a teacher, give the student a provisional grade
4. as another teacher, give the student another provisional grade
5. as the final grader, visit the grade moderation page
6. inspect the API responses, there should be no identifiable ids or
  names in the responses
7. select a final grade
8. make sure the API request and response when selecting the final grade
  is also anonymous

Change-Id: I083673e29d4b49c1d97cedad46571bccc622a8a2
Reviewed-on: https://gerrit.instructure.com/151134
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: Anju Reddy <areddy@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-05-31 22:30:25 +00:00
..
active_support/cache work around ruby 2.5 bug 2018-01-02 21:32:36 +00:00
address_book Fix blank conversation_id param for conversations 2017-10-03 16:59:17 +00:00
api anonymize gradeable students endpoint 2018-05-31 22:30:25 +00:00
app_center da licença part 25 2017-04-27 21:51:40 +00:00
basic_lti Add submittedAt details to Basic Outcomes 2018-04-23 17:06:49 +00:00
canvadocs Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
canvas Qti import from Canvas to Quizzes.Next 2018-05-31 16:57:32 +00:00
cc don't copy muted assignment status 2018-05-29 16:06:53 +00:00
data_fixup Update existing account bindings' workflow_state 2018-05-24 16:53:02 +00:00
external_auth_observation SAML response processing via ruby-saml2 2018-04-24 21:41:30 +00:00
features anonymize graders in speed_grader.json 2018-05-17 00:18:05 +00:00
latex stringify request ids before signing for mathman 2017-05-16 20:42:39 +00:00
lti Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
messageable_user use in_region_associated_shards in some more places 2017-09-05 15:56:49 +00:00
outcomes Distinguish between outcome import errors/failures 2018-05-07 20:55:45 +00:00
reporting da licença part 33 2017-04-27 22:00:04 +00:00
services generate address book jwts with HS512 algorithm 2018-05-23 16:54:10 +00:00
sis users are not deleted or tracked 2018-05-29 23:46:58 +00:00
stubs da licença part 34 2017-04-27 22:00:30 +00:00
support_helpers add support helper to run due date cacher for a course 2018-05-01 20:25:05 +00:00
tasks Add API Token Scope Docs 2018-05-29 18:21:57 +00:00
turnitin Handle turnitin polling more gracefully 2018-01-22 23:47:48 +00:00
user_content da licença part 36 2017-04-28 17:31:17 +00:00
utils da licença part 36 2017-04-28 17:31:17 +00:00
account_services.rb removes integration for yo 2018-04-10 20:15:41 +00:00
action_controller_test_process.rb da licença part 25 2017-04-27 21:51:40 +00:00
address_book.rb da licença part 25 2017-04-27 21:51:40 +00:00
anonymity.rb Move anonymous ID routines to own module 2018-05-15 15:03:06 +00:00
api.rb Qti import from Canvas to Quizzes.Next 2018-05-31 16:57:32 +00:00
api_route_set.rb da licença part 25 2017-04-27 21:51:40 +00:00
api_scope_mapper_loader.rb add lookup class for scope resource names 2018-05-23 16:09:12 +00:00
asset_signature.rb da licença part 25 2017-04-27 21:51:40 +00:00
assignment_override_applicator.rb performance improvements for quiz serialization 2018-05-25 19:59:08 +00:00
assignment_score_statistics_generator.rb run the assignment score statistics generator in a singleton 2018-04-30 19:29:38 +00:00
assignment_util.rb don't allow saving invalid assignment dates 2018-04-05 16:59:19 +00:00
authentication_methods.rb Add route scope enforcement to application controller 2018-03-21 23:18:36 +00:00
basic_lti.rb da licença part 26 2017-04-27 21:52:25 +00:00
brand_config_helpers.rb da licença part 26 2017-04-27 21:52:25 +00:00
brand_config_regenerator.rb strand brand config regeneration jobs 2017-06-20 20:01:27 +00:00
brandable_css.rb rails 5.2 2018-04-25 19:15:20 +00:00
browser.rb da licença part 26 2017-04-27 21:52:25 +00:00
canvadocs.rb Canvadocs hijack crocodoc sessions 2017-05-03 22:11:01 +00:00
canvas.rb when disconnected redis after fork, don't force a new connection 2018-02-21 21:45:46 +00:00
canvas_logger.rb da licença part 27 2017-04-27 21:53:31 +00:00
canvas_yaml.rb delete scribd 2018-04-10 17:39:52 +00:00
cc.rb da licença part 27 2017-04-27 21:53:31 +00:00
config_file.rb fix reloader for ConfigFile 2017-06-15 18:45:24 +00:00
content_licenses.rb call translated license names in a lambda 2017-08-14 13:03:04 +00:00
content_notices.rb da licença part 27 2017-04-27 21:53:31 +00:00
content_zipper.rb Upload attachment to inst-fs, eportfolio export 2018-03-21 19:45:35 +00:00
conversation_batch_scrubber.rb scrub old conversation batches 2017-12-01 02:14:53 +00:00
copy_authorized_links.rb remove 'copy_authorized_content' as superfluous 2017-07-05 15:43:00 +00:00
course_link_validator.rb don't search deleted questions for broken links 2018-01-25 13:18:46 +00:00
custom_validations.rb da licença part 27 2017-04-27 21:53:31 +00:00
cuty_capt.rb don't process url's with CutyCapt that don't resolve 2017-11-06 18:08:23 +00:00
dates_overridable.rb ensure teacher_due_date_for_display returns nil not an error 2018-04-26 15:52:54 +00:00
delayed_message_scrubber.rb da licença part 28 2017-04-27 21:53:35 +00:00
delicious.rb da licença part 28 2017-04-27 21:53:35 +00:00
differentiable_assignment.rb apply differentiated assignment scope in context shard 2018-03-01 01:40:17 +00:00
due_date_cacher.rb automatically add students to moderation (back end) 2018-05-30 22:46:21 +00:00
duplicating_objects.rb Add the ability to duplicate modules. 2017-11-03 15:52:43 +00:00
effective_due_dates.rb Order planner queries by overridden due dates 2018-03-13 19:09:19 +00:00
email_address_validator.rb da licença part 29 2017-04-27 21:59:53 +00:00
enrollments_from_user_list.rb make DDC calls more efficient if we can scope to specific users 2018-05-03 22:01:37 +00:00
eportfolio_page.rb fix eportfolio file uploads harder 2018-04-06 00:09:37 +00:00
external_feed_aggregator.rb stop RSS feeds when a course has concluded 2018-02-28 19:49:56 +00:00
external_statuses.rb da licença part 29 2017-04-27 21:59:53 +00:00
feature.rb remove development feature flag for ssd 2018-05-31 04:30:37 +00:00
feature_flags.rb use a consistent current shard for feature_flag_account_ids cache 2018-03-06 05:47:52 +00:00
file_authenticator.rb fix inst-fs on redirect through files domain 2018-05-23 22:22:54 +00:00
file_in_context.rb don't fail when importing a package with invalid attachments 2017-08-30 21:21:34 +00:00
file_splitter.rb da licença part 29 2017-04-27 21:59:53 +00:00
google_docs_preview.rb involve user in generating non-public links 2018-01-09 22:21:38 +00:00
grade_calculator.rb grade calc: use bigdecimal instead of float for calculations 2018-05-29 21:01:23 +00:00
gradebook_exporter.rb allow users to change CSV field separator as personal preference 2018-05-04 21:56:57 +00:00
gradebook_grading_period_assignments.rb gradebook grading period assignments: improve performance 2018-05-22 19:12:19 +00:00
gradebook_importer.rb add unposted scores to gradebook import/export 2018-01-29 18:20:24 +00:00
gradebook_settings_helpers.rb da licença part 30 2017-04-27 21:59:55 +00:00
gradebook_user_ids.rb fix a quoting issue in Rails 5.1 2018-02-21 16:01:46 +00:00
grading_period_helper.rb da licença part 30 2017-04-27 21:59:55 +00:00
has_content_tags.rb add low_level_locked_for 2018-05-24 21:23:31 +00:00
host_url.rb drop Message#asset_context and DelayedNotification#asset_context 2017-08-22 17:47:51 +00:00
i18n_time_zone.rb add additional brazil time zones 2017-11-28 21:31:57 +00:00
imported_html_converter.rb don't remove outer tags with style from imported questions 2018-05-10 12:34:01 +00:00
inst_fs.rb handle missing setting values properly 2018-05-30 19:03:30 +00:00
job_live_events_context.rb symbolize live events 2017-05-14 01:30:14 +00:00
late_policy_applicator.rb late and missing policies ignore concluded students 2017-12-20 20:04:18 +00:00
latex.rb da licença part 31 2017-04-27 21:59:58 +00:00
learning_outcome_context.rb rails 5.1: fix a bunch of after_save deprecation warnings 2018-03-21 20:04:25 +00:00
locale_selection.rb don't use browser locale for notification locale 2018-03-26 22:34:58 +00:00
locked_for.rb add low_level_locked_for 2018-05-24 21:23:31 +00:00
logging_filter.rb da licença part 31 2017-04-27 21:59:58 +00:00
login_hooks.rb da licença part 31 2017-04-27 21:59:58 +00:00
math_man.rb don't require mathman config to check enabled status 2018-04-30 22:46:21 +00:00
message_dispatcher.rb drop jobs max attempts default to 1 2017-10-14 17:57:03 +00:00
message_scrubber.rb da licença part 32 2017-04-27 22:00:01 +00:00
messageable_user.rb rails 5.2 2018-04-25 19:15:20 +00:00
missing_policy_applicator.rb mark missing submission as graded when deducting points 2018-04-04 18:34:09 +00:00
model_cache.rb rails 5.1: fix a bunch of deprecation warnings 2018-03-23 18:46:48 +00:00
moderation.rb automatically add students to moderation (back end) 2018-05-30 22:46:21 +00:00
multi_cache.rb configure multicache via consul 2017-09-12 22:49:16 +00:00
must_view_module_progressor.rb da licença part 32 2017-04-27 22:00:01 +00:00
mutable.rb hide existing teacher comments when muting assignment 2018-05-16 17:38:13 +00:00
net_ldap_extensions.rb da licença part 32 2017-04-27 22:00:01 +00:00
notification_message_creator.rb don't use browser locale for notification locale 2018-03-26 22:34:58 +00:00
open_object.rb da licença part 32 2017-04-27 22:00:01 +00:00
outcome_attributes.rb da licença part 32 2017-04-27 22:00:01 +00:00
outcome_importer.rb Basic bulk outcome import 2018-02-14 23:07:18 +00:00
package_root.rb refactor package content management 2017-11-15 18:03:18 +00:00
permissions.rb da licença part 33 2017-04-27 22:00:04 +00:00
plannable.rb Refactor planner items endpoint to prepare for calendar 2018-05-24 17:33:46 +00:00
progress_runner.rb da licença part 33 2017-04-27 22:00:04 +00:00
request_cache.rb da licença part 33 2017-04-27 22:00:04 +00:00
request_error.rb da licença part 33 2017-04-27 22:00:04 +00:00
rubric_context.rb da licença part 33 2017-04-27 22:00:04 +00:00
scope_filter.rb da licença part 34 2017-04-27 22:00:30 +00:00
search_term_helper.rb da licença part 34 2017-04-27 22:00:30 +00:00
send_to_stream.rb da licença part 34 2017-04-27 22:00:30 +00:00
sentry_proxy.rb da licença part 34 2017-04-27 22:00:30 +00:00
session_token.rb Add copyright message to remaining .rb files 2018-03-19 13:38:50 +00:00
simple_stats.rb da licença part 34 2017-04-27 22:00:30 +00:00
simple_tags.rb da licença part 34 2017-04-27 22:00:30 +00:00
sis.rb da licença part 34 2017-04-27 22:00:30 +00:00
sorts_assignments.rb da licença part 34 2017-04-27 22:00:30 +00:00
ssl_common.rb da licença part 34 2017-04-27 22:00:30 +00:00
stats.rb da licença part 34 2017-04-27 22:00:30 +00:00
sticky_sis_fields.rb add parent_account_id as a sticky sis field 2018-01-19 13:20:20 +00:00
submission_list.rb fix gradebook_history to ignore placeholder submissions 2017-06-20 18:23:35 +00:00
submittable.rb rails 5.1: fix several moar deprecation warnings 2018-03-23 22:03:15 +00:00
submittables_grading_period_protection.rb da licença part 34 2017-04-27 22:00:30 +00:00
summary_message_consolidator.rb speed up SummaryMessageConsolidator a bit 2017-07-26 22:54:29 +00:00
syslog_wrapper.rb da licença part 34 2017-04-27 22:00:30 +00:00
temp_cache.rb da licença part 35 2017-04-28 17:30:19 +00:00
text_helper.rb da licença part 35 2017-04-28 17:30:19 +00:00
time_zone_helper.rb da licença part 35 2017-04-28 17:30:19 +00:00
timed_cache.rb da licença part 35 2017-04-28 17:30:19 +00:00
token_scopes.rb Add API Token Scope Docs 2018-05-29 18:21:57 +00:00
token_scopes_helper.rb Add API Token Scope Docs 2018-05-29 18:21:57 +00:00
turnitin.rb da licença part 35 2017-04-28 17:30:19 +00:00
turnitin_id.rb da licença part 35 2017-04-28 17:30:19 +00:00
unzip_attachment.rb ignore mac system folder when unzipping files 2017-11-30 14:18:40 +00:00
user_content.rb preserve query params in links in migrations 2018-04-26 16:35:52 +00:00
user_list.rb da licença part 36 2017-04-28 17:31:17 +00:00
user_list_v2.rb use opaque tokens rather than ids to mass-enroll users 2017-11-08 20:29:07 +00:00
user_merge.rb rename user_observer/observee classes/associations 2018-03-14 19:51:49 +00:00
user_search.rb fix user_search permissions 2018-04-09 17:19:56 +00:00
vericite.rb VeriCite: get all scores for an assignment in bulk 2017-05-24 17:09:57 +00:00
visibility_plucking_helper.rb da licença part 36 2017-04-28 17:31:17 +00:00
zip_extractor.rb da licença part 36 2017-04-28 17:31:17 +00:00