canvas-lms/app/models
James Williams 7cb416f839 inherit default group quotas from parent accounts
test plan:
* on the quotas tab of the account settings,
 set a group quota for an account
* create a subaccount
* should have the same default quota as the parent
 account

closes #CNVS-14971

Change-Id: Icdb8e4a9666e4b7f03d9819ae7eab42627fff5ef
Reviewed-on: https://gerrit.instructure.com/44678
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
QA-Review: Sean Lewis <slewis@instructure.com>
2014-11-25 01:29:18 +00:00
..
alerts gemify broadcast policy 2014-09-24 11:35:33 +00:00
assignments DA - needs grading 2014-10-06 21:44:21 +00:00
attachments fix attachment copies >= 5GB 2014-08-14 03:33:02 +00:00
auditors log auditor events to the rails log 2014-07-23 14:26:25 +00:00
broadcast_policies DA - quiz/submission/discussion notifications 2014-10-03 22:08:27 +00:00
context_module_progressions rework module progressions evaluation 2014-05-01 16:42:07 +00:00
courses fix delayed alerts for courses with only section-limited teachers 2014-10-30 16:07:12 +00:00
data_exports_api validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
discussion_topic no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
enrollment don't record recent activity for unauthorized actions 2014-09-23 14:34:00 +00:00
exporters no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
group_categories allow group leadership edits on group categories 2014-10-10 20:42:06 +00:00
importers fix importing assignments with no name 2014-11-05 18:23:19 +00:00
incoming_mail i18nliner(.rb) 2014-10-29 21:59:39 +00:00
live_assessments no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
lti construct uniq resource_link_id for lti_links 2014-11-24 23:34:49 +00:00
messages Use source user as "FROM" for emails 2014-05-31 01:02:14 +00:00
polling restrict roles visible to javascript to @domain_root_account 2014-11-04 19:42:12 +00:00
quizzes Quiz stats cleanup 2014-11-24 18:08:19 +00:00
abstract_course.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
access_token.rb security.yml encryption key rotation support 2014-10-27 20:50:45 +00:00
account.rb inherit default group quotas from parent accounts 2014-11-25 01:29:18 +00:00
account_authorization_config.rb add idp initiated saml logout 2014-11-04 22:58:56 +00:00
account_notification.rb allow excluding students from global surveys 2014-11-19 20:45:23 +00:00
account_notification_role.rb new roles 2014-10-31 19:44:14 +00:00
account_report.rb make account reports a gem 2014-11-03 22:57:35 +00:00
account_user.rb fix role overrides fetching for site admin on a separate shard 2014-11-13 19:09:51 +00:00
alert.rb new roles 2014-10-31 19:44:14 +00:00
alert_criterion.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
announcement.rb Copy of Announcement to Sender, notify announcement replies 2014-09-11 02:04:34 +00:00
appointment_group.rb use Rails' base_class 2014-09-30 21:14:22 +00:00
appointment_group_context.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
appointment_group_sub_context.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
assessment_question.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
assessment_question_bank.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
assessment_question_bank_user.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
assessment_request.rb give more access to peer reviews 2014-08-08 16:18:45 +00:00
asset_user_access.rb fix asset_user_access spec 2014-10-10 16:30:03 +00:00
assignment.rb DA - avoid seq scans in scopes 2014-11-19 15:41:47 +00:00
assignment_group.rb avoid extra submissions query in assignment_json 2014-11-06 01:13:27 +00:00
assignment_override.rb DA - quiz/submission/discussion notifications 2014-10-03 22:08:27 +00:00
assignment_override_student.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
assignment_student_visibility.rb DA - module evaluation efficiency 2014-10-28 19:11:47 +00:00
attachment.rb data model and API for file usage rights 2014-11-19 16:14:00 +00:00
attachment_association.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
auditors.rb rework error handling in event stream 2014-08-28 21:19:24 +00:00
authorization_code.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
big_blue_button_conference.rb BBB: request recordings only if conference was recorded 2013-12-18 22:45:56 +00:00
bookmark_service.rb Fix Diigo API Calls 2014-10-28 17:00:50 +00:00
bounce_notification_processor.rb bounced email handling 2014-09-04 16:48:13 +00:00
calendar_event.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
canvadoc.rb handle crocodoc/canvadocs timeouts when creating sessions 2014-10-30 23:05:44 +00:00
cloned_item.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
collaboration.rb clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
collaborator.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
communication_channel.rb yo integration 2014-11-03 22:53:39 +00:00
content_export.rb use root account uuid to scope external ids in migrations 2014-09-09 19:16:41 +00:00
content_migration.rb i18nliner(.rb) 2014-10-29 21:59:39 +00:00
content_participation.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
content_participation_count.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
content_tag.rb DA - avoid seq scans in scopes 2014-11-19 15:41:47 +00:00
context.rb no more dynamic finders 2014-10-03 16:22:49 +00:00
context_external_tool.rb setup default lti2 placements 2014-11-24 23:34:28 +00:00
context_external_tool_placement.rb migrate has_X context_external_tool columns to separate table 2014-08-12 12:13:42 +00:00
context_module.rb DA - module evaluation efficiency 2014-10-28 19:11:47 +00:00
context_module_item.rb avoid dynamic finders on an assocition with an include 2014-02-21 12:52:39 +00:00
context_module_progression.rb DA - module evaluation efficiency 2014-10-28 19:11:47 +00:00
context_module_sub_header.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
conversation.rb no more dynamic finders 2014-10-03 16:22:49 +00:00
conversation_batch.rb CC author on conversation create 2014-09-26 22:23:00 +00:00
conversation_message.rb improve distinct_on 2014-11-05 05:43:58 +00:00
conversation_message_participant.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
conversation_participant.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
course.rb data model and API for file usage rights 2014-11-19 16:14:00 +00:00
course_account_association.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
course_import.rb remove some of the less useful associations from export 2014-05-27 15:44:00 +00:00
course_profile.rb improve acts_as_list 2013-12-17 19:55:43 +00:00
course_progress.rb make course progress API more resilient 2014-09-23 17:39:22 +00:00
course_section.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
crocodoc_document.rb handle crocodoc/canvadocs timeouts when creating sessions 2014-10-30 23:05:44 +00:00
custom_data.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
custom_gradebook_column.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
custom_gradebook_column_datum.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
delayed_message.rb fix creating delayed messages for retired communication channels 2014-10-10 20:14:54 +00:00
delayed_notification.rb avoid extraneous queries to Notification 2014-09-09 21:54:16 +00:00
designer_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
developer_key.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
discussion_entry.rb single shard transaction on stream item generation 2014-11-08 17:03:33 +00:00
discussion_entry_participant.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
discussion_topic.rb DA - avoid seq scans in scopes 2014-11-19 15:41:47 +00:00
discussion_topic_participant.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
document_service.rb Initial commit. 2011-01-31 18:57:29 -07:00
enrollment.rb use scopes instead of associations with joins 2014-11-13 16:54:22 +00:00
enrollment_dates_override.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
enrollment_term.rb return overridden start/end dates for terms in courses API 2014-11-07 22:52:41 +00:00
eportfolio.rb ensure there is a default eportfolio page 2014-08-14 23:15:09 +00:00
eportfolio_category.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
eportfolio_entry.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
error_report.rb s/ActionController/ActionDispatch/ 2014-09-24 19:29:09 +00:00
etherpad_collaboration.rb don't re-calculate the etherpad url when a new user joins 2013-11-08 21:45:44 +00:00
external_feed.rb avoid a transaction (even on the slave) processing external feeds 2014-10-27 21:13:45 +00:00
external_feed_entry.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
external_integration_key.rb add external integration keys 2014-11-21 01:19:24 +00:00
external_url.rb optimize AdheresToPolicy 2011-07-14 13:25:28 -06:00
favorite.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
feature_flag.rb feature flags infrastructure and API 2013-11-19 20:50:03 +00:00
folder.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
google_docs_collaboration.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
gradebook_upload.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
grading_period.rb add grading period group model 2014-11-14 22:07:00 +00:00
grading_period_group.rb add grading period group model 2014-11-14 22:07:00 +00:00
grading_standard.rb fix grading standard can-edit logic 2014-10-06 20:22:58 +00:00
group.rb data model and API for file usage rights 2014-11-19 16:14:00 +00:00
group_category.rb Correct sorting for numerically named groups 2014-11-20 18:23:05 +00:00
group_leadership.rb Automatically Assign group leaders 2014-05-23 17:23:53 +00:00
group_membership.rb clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
ignore.rb give more access to peer reviews 2014-08-08 16:18:45 +00:00
importers.rb fix autoloading of the Importers module 2014-07-25 19:14:12 +00:00
inbox_item.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
kaltura_media_file_handler.rb Send global root_account_id to Kaltura in partner_data 2014-08-19 21:32:40 +00:00
learning_outcome.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
learning_outcome_group.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
learning_outcome_result.rb live assessments api 2014-06-10 14:53:40 +00:00
live_assessments.rb improve AR::all_models for non-eager-loading 2014-07-14 15:56:49 +00:00
lti.rb add lti2 models and registration endpoints 2014-07-18 16:42:10 +00:00
mailer.rb properly quoted display name in outgoing email 2014-08-14 19:23:49 +00:00
media_object.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
media_source_fetcher.rb Prefer mp3 for audio comments in api_user_content 2014-04-30 20:00:13 +00:00
media_track.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
message.rb yo integration 2014-11-03 22:53:39 +00:00
migration_issue.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
notification.rb i18nliner(.rb) 2014-10-29 21:59:39 +00:00
notification_finder.rb gemify broadcast policy 2014-09-24 11:35:33 +00:00
notification_policy.rb gemify broadcast policy 2014-09-24 11:35:33 +00:00
notification_preloader.rb avoid extraneous queries to Notification 2014-09-09 21:54:16 +00:00
notifier.rb gemify broadcast policy 2014-09-24 11:35:33 +00:00
oauth_request.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
observer_enrollment.rb DA - quiz/submission/discussion notifications 2014-10-03 22:08:27 +00:00
open_object.rb simplify OpenStruct/OpenObject json serialization 2013-08-29 16:44:13 +00:00
page_comment.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
page_view.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
plugin_setting.rb no more dynamic finders (controllers) 2014-09-17 02:42:30 +00:00
polling.rb improve AR::all_models for non-eager-loading 2014-07-14 15:56:49 +00:00
polymorphic_type_override.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
profile.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
progress.rb course link validator + API 2014-10-30 15:06:32 +00:00
pseudonym.rb refresh CAS ticket in find_user 2014-11-07 20:17:05 +00:00
pseudonym_session.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
report_snapshot.rb clarify Slug vs. UUID and fix event stream 2014-07-11 16:58:42 +00:00
role.rb UI and API update for role overrides to allow editing name 2014-11-12 15:29:36 +00:00
role_override.rb fix role overrides fetching for site admin on a separate shard 2014-11-13 19:09:51 +00:00
rubric.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
rubric_assessment.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
rubric_association.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
scribd_mime_type.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
session_persistence_token.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
setting.rb no more dynamic finders (models) 2014-09-24 20:51:48 +00:00
sharded_bookmarked_collection.rb extract bookmarked_collection gem 2014-04-17 18:16:13 +00:00
sis_batch.rb don't fail sis_imports GET with nil options 2014-10-21 19:44:14 +00:00
stream_item.rb invalidate cached stream item instances after item deletion 2014-11-18 17:50:40 +00:00
stream_item_instance.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
student_enrollment.rb DA - enrollment deletion works 2014-09-25 22:01:02 +00:00
student_view_enrollment.rb fix viewing test student grades by teacher 2014-05-30 04:35:59 +00:00
submission.rb DA - update gb cells on the fly 2014-11-20 22:01:19 +00:00
submission_comment.rb don't use preload_associations 2014-09-30 18:04:00 +00:00
submission_comment_participant.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
submission_version.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00
ta_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
tableless.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
teacher_enrollment.rb straighten out course designer permissions 2012-01-13 18:56:50 -07:00
thumbnail.rb Fixes Profile avatar on thumbnail no longer showing correct image 2014-08-22 22:17:51 +00:00
usage_rights.rb data model and API for file usage rights 2014-11-19 16:14:00 +00:00
user.rb data model and API for file usage rights 2014-11-19 16:14:00 +00:00
user_account_association.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
user_note.rb stabby lambda scopes for rails4 2014-07-04 02:11:56 +00:00
user_observer.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
user_profile.rb fix link to user files when newfiles is turned on 2014-11-14 16:28:46 +00:00
user_profile_link.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
user_service.rb Update Diigo API URL 2014-11-20 03:12:58 +00:00
web_conference.rb use Rails' base_class 2014-09-30 21:14:22 +00:00
web_conference_participant.rb define exportable attributes/associations on models 2014-05-06 23:54:24 +00:00
wiki.rb make api wiki page retrieval consistent 2014-10-22 19:54:49 +00:00
wiki_page.rb pandapub: integrate with wiki page updates 2014-10-25 04:27:54 +00:00
wimba_conference.rb handle wimba conference date parsing in ruby18/ruby19. 2013-02-08 12:43:19 -07:00
zip_file_import.rb validate types on polymorphic associations 2014-05-28 17:05:34 +00:00