canvas-lms/spec
Jackson Howe 8727e931e0 Create CourseCreationSettings component
This is rendered in place of the existing course creation settings
in root account settings when the RootAccount
:create_course_subaccount_picker flag is enabled. It supports setting
the existing course creation settings, plus two new settings:
 - teachers_can_create_courses_anywhere, and
 - students_can_create_courses_anywhere
This will eventually be used in the CreateCourseModal to allow admins
to limit where users can create courses, if desired.

refs LS-2780
flag = create_course_subaccount_picker

Test plan:
 - With the flag off, open root account settings as an admin
 - Expect to see the classic settings under 'Who can create new
   courses'
 - Turn on create_course_subaccount_picker flag
 - On the settings page, expect those classic controls to be replaced
 - Expect the radio buttons under 'Teachers' and 'Students' to render
   only when the parent checkbox is checked
 - Alter the settings, save the page, and expect changes to persist

Change-Id: I6801b9c201f3fb00a3c0821ea1e855b4561bb72c
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/276964
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Jonathan Guardado <jonathan.guardado@instructure.com>
Reviewed-by: Jonathan Guardado <jonathan.guardado@instructure.com>
Product-Review: Jackson Howe <jackson.howe@instructure.com>
2021-10-29 19:13:58 +00:00
..
apis accept `lti-quiz` as a content_type for `restrict_item` 2021-10-28 22:07:10 +00:00
coffeescripts remove annotated_document_submissions feature flag 2021-10-28 17:52:38 +00:00
contracts RuboCop: Lint/UselessAssignment spec 2021-10-21 13:38:12 +00:00
controllers Poll for publishing status updates in Pace Plans 2021-10-28 19:22:47 +00:00
factories RuboCop: Lint/UnusedMethodArgument spec 2021-10-21 16:20:05 +00:00
factory_bot RuboCop: Layout spec 2021-09-22 22:40:24 +00:00
fixtures Make outcome_imports endpoint aware of the parent group 2021-10-27 15:57:14 +00:00
formatters fix build summary page to work with rspecQ 2021-10-06 17:30:51 +00:00
gem_integration/canvas_connect spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
graphql return only active conversation messages 2021-10-28 18:39:23 +00:00
helpers spec: remove sharding_spec_helper requires 2021-10-28 00:19:18 +00:00
initializers spec: remove sharding_spec_helper requires 2021-10-28 00:19:18 +00:00
instfs/selenium spec: use require_relative instead of require File.expand_path 2021-10-28 00:15:03 +00:00
integration spec: remove sharding_spec_helper requires 2021-10-28 00:19:18 +00:00
javascripts Convert gradebook settings modal to tray 2021-10-28 17:57:56 +00:00
lib Fix RCE links for unpublished/date-locked files 2021-10-28 18:58:27 +00:00
manual_seeding RuboCop: Layout spec 2021-09-22 22:40:24 +00:00
messages spec: use require_relative instead of require File.expand_path 2021-10-28 00:15:03 +00:00
migrations spec: use require_relative instead of require File.expand_path 2021-10-28 00:15:03 +00:00
models remove annotated_document_submissions feature flag 2021-10-28 17:52:38 +00:00
observers spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
presenters spec: remove sharding_spec_helper requires 2021-10-28 00:19:18 +00:00
requests RuboCop: Layout spec 2021-09-22 22:40:24 +00:00
schemas/lti spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
selenium Create CourseCreationSettings component 2021-10-29 19:13:58 +00:00
serializers spec: use require_relative instead of require File.expand_path 2021-10-28 00:15:03 +00:00
shared_examples spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
support Inflect "IMS" consistently 2021-10-08 20:11:15 +00:00
views spec: remove sharding_spec_helper requires 2021-10-28 00:19:18 +00:00
.eslintrc Update eslint to v7 2021-05-20 18:28:51 +00:00
.rspec_parallel use parallel_tests for more parallelization 2020-03-30 21:38:47 +00:00
ams_spec_helper.rb spec: use require_relative instead of require File.expand_path 2021-10-28 00:15:03 +00:00
axe_selenium_helper.rb Replace canvas-axe-selenium with stormbreaker 2021-06-23 20:19:51 +00:00
broadcast_integration.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
cassandra_spec_helper.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
conditional_release_spec_helper.rb RuboCop: Layout spec 2021-09-22 22:40:24 +00:00
coverage_tool.rb remove docker_processes from core rspec and selenium test runs 2021-05-12 19:47:12 +00:00
factories.rb RuboCop: Lint/UnusedBlockArgument spec 2021-10-26 20:41:00 +00:00
factory_bot_spec_helper.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
feature_flag_helper.rb RuboCop: Layout spec 2021-09-22 22:40:24 +00:00
file_upload_helper.rb RuboCop: Layout spec 2021-09-22 22:40:24 +00:00
force_failure_spec.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
import_helper.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
jspec.sh
lti2_course_spec_helper.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
lti2_spec_helper.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
lti_1_3_spec_helper.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
lti_1_3_tool_configuration_spec_helper.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
lti_spec_helper.rb RuboCop: Layout spec 2021-09-22 22:40:24 +00:00
plagiarism_platform_spec_helper.rb RuboCop: Layout spec 2021-09-22 22:40:24 +00:00
quiz_spec_helper.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
rcov.opts
rspec_mock_extensions.rb RuboCop: Lint/AssignmentInCondition 2021-09-29 03:38:39 +00:00
sharding_spec_helper.rb spec: remove manual requires of spec_helper 2021-10-26 20:38:27 +00:00
simple_cov_result_merger.rb add # frozen_string_literal: true for specs 2020-10-27 20:48:35 +00:00
spec.opts remove abort_on_consistent_badness_formatter 2020-10-13 18:10:04 +00:00
spec_helper.rb spec: remove sharding_spec_helper requires 2021-10-28 00:19:18 +00:00