canvas-lms/app/controllers
Joel Hough 3a2ddb89fe hide "scores in email" notification setting if disabled by root account
fixes CNVS-21773

- enable 'Students can opt-in to receiving scores in email
 notifications' account level setting
- wait for caching (a minute or two)
- view notification preferences
- ensure the 'Include scores when alerting about grade changes'
 check box is visible
- disable the 'Students can' account level setting
- wait for cache
- view notification preferences
- ensure the 'Include scores' check box is not shown

Change-Id: I42ae9b79d736a04fe7382f33847aa70793db7f5c
Reviewed-on: https://gerrit.instructure.com/63811
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
Tested-by: Jenkins
QA-Review: Adrian Russell <arussell@instructure.com>
Product-Review: Peyton Craighill <pcraighill@instructure.com>
2015-09-30 22:22:12 +00:00
..
bookmarks bookmark api: handle string position, fixes CNVS-20628 2015-05-26 22:37:18 +00:00
data_exports_api data export api 2014-03-07 22:31:43 +00:00
filters rails4: change allow_app_profiling #filter to #before 2015-07-15 20:30:52 +00:00
live_assessments no more dynamic finders (controllers) 2014-09-17 02:42:30 +00:00
login don't puke on missing saml attribute 2015-08-12 19:48:57 +00:00
lti add split secret support for lti 2 2015-09-18 16:41:04 +00:00
polling update API doc required params - 9 2014-08-26 16:14:19 +00:00
quizzes adds ability to filter quiz statistics by section 2015-09-23 23:54:28 +00:00
account_authorization_configs_controller.rb rename account authorization configs to authentication providers in routes 2015-07-21 23:58:23 +00:00
account_notifications_controller.rb fix account notification course roles 2014-12-17 20:10:03 +00:00
account_reports_controller.rb Removed unnecessary parameter from report status doc 2015-03-24 15:00:48 +00:00
accounts_controller.rb subaccount theme progress bars 2015-09-22 16:17:59 +00:00
admins_controller.rb be more lenient in interpreting send_confirmation boolean 2015-06-18 17:05:51 +00:00
alerts_controller.rb new roles 2014-10-31 19:44:14 +00:00
announcements_controller.rb send asset accesses as live events 2015-05-05 12:52:50 +00:00
app_center_controller.rb Start Setting app_center_id via API POST and find installed apps via the app_center_id property 2015-06-16 14:48:40 +00:00
application_controller.rb DRY Up LTI Tool links 2015-09-29 17:46:22 +00:00
appointment_groups_controller.rb don't use preload_associations 2014-09-30 18:04:00 +00:00
assessment_questions_controller.rb remove move_question 2014-03-07 17:47:12 +00:00
assignment_groups_api_controller.rb fix move_assignments_to documentation, fixes CNVS-20773 2015-06-01 17:07:01 +00:00
assignment_groups_controller.rb preload attachments in calendar events public feed 2015-09-21 14:22:26 +00:00
assignment_overrides_controller.rb update API doc required params - 2 2014-08-18 16:40:31 +00:00
assignments_api_controller.rb preload attachments in calendar events public feed 2015-09-21 14:22:26 +00:00
assignments_controller.rb show radio buttons for moderation set grades 2015-09-28 16:29:32 +00:00
auditor_api_controller.rb enable Audit log search 2014-08-16 01:53:39 +00:00
authentication_audit_api_controller.rb rails4: deprecate Relation#all in favor of Relation#to_a 2015-07-24 21:28:14 +00:00
brand_configs_controller.rb mobile css and js overrides 2015-09-28 19:24:55 +00:00
calendar_events_api_controller.rb fix the timezone problem with recurring events 2015-09-29 17:21:10 +00:00
calendar_events_controller.rb Recurring calendar events 2015-08-25 18:55:42 +00:00
calendars_controller.rb Remove dead calendar editing code 2015-03-18 17:03:03 +00:00
canvadoc_sessions_controller.rb canvadocs annotations 2015-09-04 16:42:17 +00:00
collaborations_controller.rb use preload/eager_load instead of includes 2015-09-08 20:32:05 +00:00
comm_messages_api_controller.rb delete facebook integration 2015-03-30 20:21:58 +00:00
communication_channels_controller.rb register users with active com channels 2015-09-23 19:52:32 +00:00
conferences_controller.rb Don't invite users with concluded enrollments to conferences 2015-09-22 15:18:13 +00:00
content_exports_api_controller.rb Update parameters in the following API docs - 3 2014-08-26 16:42:33 +00:00
content_exports_controller.rb adds UI & backend for offline content 2015-09-30 16:22:18 +00:00
content_imports_controller.rb fix Style/EmptyLineBetweenDefs issue 2015-04-29 16:28:39 +00:00
content_migrations_controller.rb Make LTI configurations accept canvas icon class 2015-09-21 17:59:40 +00:00
context_controller.rb rails4: deprecate Relation#all in favor of Relation#to_a 2015-07-24 21:28:14 +00:00
context_module_items_api_controller.rb improve item_sequence endpoint 2015-06-24 20:23:33 +00:00
context_modules_api_controller.rb don't lock students out of modules unless requested 2015-02-20 17:20:20 +00:00
context_modules_controller.rb turn on and remove nc_or feature flag 2015-09-22 12:16:39 +00:00
conversations_controller.rb don't check all shared contexts if one is specified in conversations api params 2015-09-29 00:27:47 +00:00
course_audit_api_controller.rb Update parameters in the following API docs 2014-08-18 16:43:37 +00:00
courses_controller.rb DRY Up LTI Tool links 2015-09-29 17:46:22 +00:00
crocodoc_sessions_controller.rb Stubbing out Crocodoc filter for moderated_grading 2015-09-04 02:15:00 +00:00
custom_data_controller.rb update API doc required params - 12 2014-08-25 16:50:04 +00:00
custom_gradebook_column_data_api_controller.rb Update parameters in the following API docs 2014-08-18 16:43:37 +00:00
custom_gradebook_columns_api_controller.rb Update parameters in the following API docs 2014-08-18 16:43:37 +00:00
developer_keys_controller.rb allow deactivating developer keys 2015-09-16 18:31:33 +00:00
discussion_entries_controller.rb don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
discussion_topics_api_controller.rb rails4: various api spec fixes 2015-07-21 15:44:32 +00:00
discussion_topics_controller.rb Cancel option on Discussions/Announcements 2015-09-24 21:56:01 +00:00
enrollments_api_controller.rb ensure a user's enrollments api works when given a grading period 2015-09-24 16:19:16 +00:00
eportfolio_categories_controller.rb fix Style/EmptyLineBetweenDefs issue 2015-04-29 16:28:39 +00:00
eportfolio_entries_controller.rb use legacy verifiers for eportfolios 2015-05-04 16:16:44 +00:00
eportfolios_controller.rb rails4: deprecate Relation#all in favor of Relation#to_a 2015-07-24 21:28:14 +00:00
epub_exports_controller.rb adds UI & backend for offline content 2015-09-30 16:22:18 +00:00
equation_images_controller.rb make the codecogs equation base url a setting 2014-02-18 00:14:59 +00:00
errors_controller.rb record real user when error report is submitted in student view 2015-09-24 14:40:57 +00:00
external_content_controller.rb catch URI::Error instead of URI::InvalidURIError 2015-07-28 02:17:49 +00:00
external_feeds_controller.rb remove unused external feeds columns 2015-01-07 23:36:18 +00:00
external_tools_controller.rb Make LTI configurations accept canvas icon class 2015-09-21 17:59:40 +00:00
favorites_controller.rb Add group favorites 2015-09-17 19:22:54 +00:00
feature_flags_controller.rb make feature flag update deal with constraint race condition 2015-05-20 02:36:22 +00:00
file_previews_controller.rb s/jammit_css/css_bundle 2015-07-07 21:26:35 +00:00
files_controller.rb Revert "Added a query to ensure that no submitted files can be deleted" 2015-09-09 20:23:07 +00:00
folders_controller.rb protect against misuse of models converted to strong params 2015-09-11 14:32:46 +00:00
grade_change_audit_api_controller.rb update API doc required params - 6 2014-08-18 16:43:17 +00:00
gradebook_csvs_controller.rb fix csv exporting when user can view but not edit grades 2015-06-26 21:49:11 +00:00
gradebook_history_api_controller.rb don't use preload_associations 2014-09-30 18:04:00 +00:00
gradebook_uploads_controller.rb gradebook uploads display error when no file is given 2015-07-27 17:50:50 +00:00
gradebooks_controller.rb show 2 marks to moderators in speedgrader 2015-09-25 15:07:30 +00:00
grading_periods_controller.rb one grading period save button 2015-06-18 18:46:22 +00:00
grading_standards_api_controller.rb Add ability to get grading standards via api 2015-07-30 22:14:44 +00:00
grading_standards_controller.rb make grading periods feature flag a course level flag 2015-04-16 15:19:49 +00:00
group_categories_controller.rb Allows teacher to clone a group set. 2015-08-07 16:31:52 +00:00
group_memberships_controller.rb add sis user id support to group memberships API 2015-09-29 05:32:53 +00:00
groups_controller.rb don't show deleted groups in admin page 2015-09-17 22:03:15 +00:00
info_controller.rb make error reports creation API friendly 2015-05-18 22:10:35 +00:00
jobs_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
legal_information_controller.rb [SOC-2] use terms_of_use_url and privacy_policy_url helpers 2015-01-23 22:30:27 +00:00
login_controller.rb convert Canvas login to a real authentication provider 2015-09-14 21:13:38 +00:00
lti_api_controller.rb submit orginal turnitin submission 2015-08-04 21:00:42 +00:00
media_objects_controller.rb don't show media preview thumbnails to students for locked files 2015-03-26 16:33:53 +00:00
media_tracks_controller.rb freeze constants in controllers 2015-04-27 20:04:40 +00:00
messages_controller.rb don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
migration_issues_controller.rb Update parameters in the following API docs 2014-08-18 16:43:37 +00:00
moderation_set_controller.rb move provisional grade endpoints to provisional_grades_controller 2015-09-28 21:05:39 +00:00
notification_preferences_controller.rb Enhancement for Notification Prefs 2015-08-05 19:21:35 +00:00
oauth2_provider_controller.rb Limit dev keys with account ids in oauth flow 2015-08-19 20:19:42 +00:00
oauth_proxy_controller.rb don't autorequire a bunch of gems that are rarely used 2015-04-09 18:47:50 +00:00
outcome_groups_api_controller.rb OutcomeLink API objects: Add 'assessed' trait 2015-05-29 23:07:49 +00:00
outcome_groups_controller.rb Outcomes API - switch default calculation_method to be 'highest' 2015-01-07 18:13:38 +00:00
outcome_results_controller.rb improve outcome results controller performance for large numbers 2015-09-16 16:28:21 +00:00
outcomes_api_controller.rb Learning Outcome: Don't allow changes after assessing 2015-06-09 19:54:52 +00:00
outcomes_controller.rb use manage_rubrics permission for rubrics pages 2015-08-10 15:07:16 +00:00
outcomes_import_api_controller.rb Academic Benchmarks API: check for empty string in key and user id 2015-09-03 05:48:00 +00:00
page_comments_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
page_views_controller.rb update API doc required params - 12 2014-08-25 16:50:04 +00:00
peer_reviews_api_controller.rb peer reviews api 2015-07-08 21:18:59 +00:00
plugins_controller.rb Plugins UI needs 'dynamic_form' 2015-04-15 14:44:49 +00:00
profile_controller.rb hide "scores in email" notification setting if disabled by root account 2015-09-30 22:22:12 +00:00
progress_controller.rb converting @object notation to @model part 9/11 2014-02-12 16:21:37 +00:00
provisional_grades_controller.rb move provisional grade endpoints to provisional_grades_controller 2015-09-28 21:05:39 +00:00
pseudonym_sessions_controller.rb refactor PseudonymSessionsController 2015-05-15 14:44:38 +00:00
pseudonyms_controller.rb allow setting auth providers on sis import 2015-08-07 20:23:45 +00:00
question_banks_controller.rb allow users to view question banks without edit rights 2015-09-21 18:36:21 +00:00
role_overrides_controller.rb rails4: deprecate Relation#all in favor of Relation#to_a 2015-07-24 21:28:14 +00:00
rubric_assessments_controller.rb add provisional rubric assessments to speed_grader 2015-08-26 00:02:29 +00:00
rubric_associations_controller.rb no more dynamic finders (controllers) 2014-09-17 02:42:30 +00:00
rubrics_controller.rb allow rubric_assessments to belong to provisional grades 2015-08-14 15:40:39 +00:00
search_controller.rb rails4: remove Relation#with_each_shard 2015-07-17 12:31:15 +00:00
sections_controller.rb add enable_sis_reactivation option to api creation endpoints 2015-05-27 16:18:36 +00:00
self_enrollments_controller.rb add authentication_provider support to self enrollment controller 2015-07-22 19:12:44 +00:00
services_api_controller.rb canvas kaltura gem 2014-04-16 19:39:45 +00:00
sis_api_controller.rb add code to sis assignments api errors 2015-09-25 22:35:17 +00:00
sis_imports_api_controller.rb fix pagination headers for sis API 2015-07-17 23:13:38 +00:00
sub_accounts_controller.rb Add sis_account_id to sub-account creation api 2015-08-13 22:21:43 +00:00
submission_comments_api_controller.rb set Attachment#user_id when uploading files via the API 2014-04-24 20:58:47 +00:00
submission_comments_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
submissions_api_controller.rb move provisional grade endpoints to provisional_grades_controller 2015-09-28 21:05:39 +00:00
submissions_controller.rb lock provisional graders from speedgrader when marks are made 2015-09-21 14:22:53 +00:00
tabs_controller.rb Fixes issue with updating tab via api 2015-07-31 01:30:46 +00:00
terms_api_controller.rb api: allow admins to create/edit/delete enrollment terms 2015-01-02 17:28:24 +00:00
terms_controller.rb remove N+1 queries on term index page 2015-07-31 20:21:20 +00:00
tokens_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00
tours_controller.rb added tour guide libs 2013-05-22 19:30:13 +00:00
usage_rights_controller.rb copy-folder and copy-file endpoints 2015-02-09 22:13:55 +00:00
user_lists_controller.rb Capture a users initial_enrollment_type when invited to a course. Fixes #10893 2012-10-04 14:26:15 -06:00
user_notes_controller.rb disambiguate last_user_note usage 2014-11-26 20:13:04 +00:00
user_observees_controller.rb Add user_observees using authorization token 2015-09-24 19:03:38 +00:00
users_controller.rb allow setting authentication provider for the initial login created with a user 2015-09-29 05:34:04 +00:00
wiki_pages_api_controller.rb Decouple Wiki Page permissions logic from api index 2015-07-24 22:03:00 +00:00
wiki_pages_controller.rb Makes the "Show All Pages" button disappear if the Pages link is disabled 2015-09-23 16:23:48 +00:00
zip_file_imports_controller.rb to_json unnecessary (and wrongish) in render :json 2013-10-02 18:05:22 +00:00