canvas-lms/app/controllers
Stanley Stuart 14cca9620b limit course enrollments when option is checked on "People" page
test plan:
  - if you don't already have one, create a course with users in
    multiple course sections
  - as a teacher/person who can add enrollments to a course, go to the
    "People" tab on the left.
  - Add a new teacher to the class using the "Add People" button. When
    you create the teacher, make sure to check the "Can grade students
    in their section only."
  - Follow the dialog all the way through, then create a login for the
    new teacher you created and login as that teacher.
  - go back to the "People" tab. You should only see students in the
    teacher's section.

fixes CNVS-5763

Change-Id: I95ec3a660928f6f498d50b504fd8b024d3b0d1cd
Reviewed-on: https://gerrit.instructure.com/20505
QA-Review: Myller de Araujo <myller@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Product-Review: Stanley Stuart <stanley@instructure.com>
2013-05-10 01:52:41 +00:00
..
account_authorization_configs_controller.rb add discovery url ui to saml config page 2012-10-12 13:45:05 -06:00
account_notifications_controller.rb fix account announcements across shards fixes 2012-03-13 09:14:26 -06:00
account_reports_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
accounts_controller.rb remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
admins_controller.rb add index and delete endpoints to admins api 2013-02-08 13:37:51 -07:00
alerts_controller.rb alerts, closes 2011-08-24 10:19:44 -06:00
announcements_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
app_center_controller.rb app center external apps endpoint 2013-05-03 15:16:30 +00:00
application_controller.rb don't include concluded course groups in calendar 2013-05-08 22:34:55 +00:00
appointment_groups_controller.rb delay loading of appointments in scheduler 2013-04-19 21:33:56 +00:00
assessment_questions_controller.rb account-level question banks, closes 2011-08-29 16:24:49 -06:00
assignment_groups_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
assignment_overrides_controller.rb mark overrides as a subtopic in api documentation 2013-04-24 15:49:05 +00:00
assignments_api_controller.rb add basic grading info to assignments api for index action 2013-04-26 22:03:44 +00:00
assignments_controller.rb Locked graded discussions are now visible to students 2013-05-02 17:21:31 +00:00
calendar_events_api_controller.rb clean attachment links in incoming user content through api 2013-04-19 18:20:05 +00:00
calendar_events_controller.rb Re-enable a "show" page for Calendar Events. Fixes #CNVS-1229 2013-01-14 10:28:47 -07:00
calendars_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
collaborations_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
collection_items_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
collections_controller.rb allow for API calls with no auth 2013-03-28 14:47:10 +00:00
comm_messages_api_controller.rb ui enabling admins to search notifications 2013-04-16 22:11:16 +00:00
communication_channels_controller.rb account-level password policy support, fixes CNVS-4211 2013-04-05 20:13:26 +00:00
conferences_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
content_exports_controller.rb whitelist for xsd files for the cc module 2012-12-04 11:54:16 -07:00
content_imports_controller.rb allow content migrations to be hidden in the ui 2013-04-16 21:48:31 +00:00
content_migrations_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
context_controller.rb add users from courses/:id/users page 2013-04-18 19:43:54 +00:00
context_modules_api_controller.rb hide module draft state 2013-03-19 12:38:42 -06:00
context_modules_controller.rb create draft state flag 2013-04-16 19:44:54 +00:00
conversations_controller.rb switch to Shackles gem 2013-04-17 16:25:06 +00:00
courses_controller.rb limit course enrollments when option is checked on "People" page 2013-05-10 01:52:41 +00:00
crocodoc_sessions_controller.rb use crocodoc for eligible files in full_files.js 2012-09-28 10:08:16 -06:00
developer_keys_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
discussion_entries_controller.rb keep media comment information in API round trip 2013-04-26 19:39:08 +00:00
discussion_topics_api_controller.rb clean attachment links in incoming user content through api 2013-04-19 18:20:05 +00:00
discussion_topics_controller.rb added auto lock discussions on specified date 2013-05-08 17:49:11 +00:00
enrollments_api_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
eportfolio_categories_controller.rb eportofolio verifier behavior needs :session_affects_permissions 2011-09-26 13:04:25 -06:00
eportfolio_entries_controller.rb eportofolio verifier behavior needs :session_affects_permissions 2011-09-26 13:04:25 -06:00
eportfolios_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
equation_images_controller.rb allow any url for mathquill fixes 2012-04-12 13:11:38 -06:00
errors_controller.rb fix ErrorsController#index 2013-03-26 18:46:27 +00:00
external_content_controller.rb turning in homework from LTI tools 2013-03-27 14:52:12 +00:00
external_feeds_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
external_tools_controller.rb lti configuration refactor 2013-04-29 21:05:58 +00:00
facebook_controller.rb fix logging parameter filtering in rails 3.1+ 2013-04-01 18:41:08 +00:00
favorites_controller.rb allow for API calls with no auth 2013-03-28 14:47:10 +00:00
files_controller.rb add thumbnail_url to files api 2013-04-18 16:36:14 +00:00
folders_controller.rb don't show hidden/locked files/folders to students in wiki sidebar 2013-01-17 13:19:01 -07:00
gradebook2_controller.rb i18n fixes 2013-04-19 19:14:10 +00:00
gradebook_history_api_controller.rb standardize the submission history api response format 2013-05-01 18:00:41 +00:00
gradebook_uploads_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
gradebooks_controller.rb fix display problem in student grade page 2013-04-24 21:43:49 +00:00
grading_standards_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
group_categories_controller.rb limit self-assigned group size, closes #CNVS-5407 2013-05-08 16:47:14 +00:00
group_memberships_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
groups_controller.rb limit self-assigned group size, closes #CNVS-5407 2013-05-08 16:47:14 +00:00
info_controller.rb implemented dress_code 2013-04-09 15:43:16 +00:00
jobs_controller.rb switch to Shackles gem 2013-04-17 16:25:06 +00:00
lti_api_controller.rb implement blti extensions 0.0.4 outcome service, refs 2011-11-08 08:25:20 -07:00
media_objects_controller.rb retrieve info about 'deleted' MediaObjects 2013-03-11 14:19:05 -06:00
media_tracks_controller.rb Don't mark MediaTracksController as an API 2013-02-05 15:13:50 -07:00
messages_controller.rb improve robustness of incoming message processor 2013-04-29 14:47:09 +00:00
migration_issues_controller.rb create migration issues and start content migration api 2013-03-18 12:21:58 -06:00
outcome_groups_api_controller.rb document the outcomes/outcome_groups API 2013-01-02 13:22:04 -07:00
outcome_groups_controller.rb learning outcomes refactor 2012-08-22 09:51:39 -06:00
outcomes_api_controller.rb document the outcomes/outcome_groups API 2013-01-02 13:22:04 -07:00
outcomes_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
page_comments_controller.rb localize PageComments 2011-06-17 08:28:33 -06:00
page_views_controller.rb cassandra store for page views 2012-10-24 17:23:56 -06:00
plugins_controller.rb include plugins and jobs tabs in the site admin account 2012-04-19 16:39:59 -06:00
profile_controller.rb account-level password policy support, fixes CNVS-4211 2013-04-05 20:13:26 +00:00
progress_controller.rb course batch update api 2013-01-29 14:06:03 -07:00
pseudonym_sessions_controller.rb invalidate all sessions on explicit logout 2013-05-08 19:43:55 +00:00
pseudonyms_controller.rb account-level password policy support, fixes CNVS-4211 2013-04-05 20:13:26 +00:00
question_banks_controller.rb i18n fixes 2013-04-19 19:14:10 +00:00
quiz_groups_controller.rb hide 'link question bank' after question group create 2013-04-18 17:01:12 +00:00
quiz_questions_controller.rb account-level question banks, closes 2011-08-29 16:24:49 -06:00
quiz_reports_controller.rb async quiz report generation UI, fixes CNVS-4512 2013-05-08 23:11:52 +00:00
quiz_submissions_api_controller.rb quiz submissions file upload api end-point 2013-05-01 20:08:14 +00:00
quiz_submissions_controller.rb add a per quiz submission token and validate against it 2013-05-01 16:26:07 +00:00
quizzes_api_controller.rb quiz api: only index action should care about tab_enabled? 2013-04-24 19:35:51 +00:00
quizzes_controller.rb async quiz report generation UI, fixes CNVS-4512 2013-05-08 23:11:52 +00:00
role_overrides_controller.rb add :manage_storage_quotas permission 2013-03-29 18:27:39 +00:00
rubric_assessments_controller.rb Initial commit. 2011-01-31 18:57:29 -07:00
rubric_associations_controller.rb create separate permission for managing rubrics 2013-03-29 18:27:21 +00:00
rubrics_controller.rb create separate permission for managing rubrics 2013-03-29 18:27:21 +00:00
search_controller.rb allow for API calls with no auth 2013-03-28 14:47:10 +00:00
sections_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
self_enrollments_controller.rb account-level password policy support, fixes CNVS-4211 2013-04-05 20:13:26 +00:00
services_api_controller.rb api documentation updates 2012-05-04 11:19:51 -06:00
sis_imports_api_controller.rb fix api documentation s/pdf/sis page fixes 2012-08-17 15:06:57 -06:00
sub_accounts_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
submission_comments_controller.rb remove extraenous respond_to { format.xml } blocks 2011-12-05 08:56:08 -07:00
submissions_api_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
submissions_controller.rb added submission comment id to submission api 2013-05-08 22:55:33 +00:00
tabs_controller.rb allow for API calls with no auth 2013-03-28 14:47:10 +00:00
terms_controller.rb remove the account.root_account || account idiom 2012-01-03 11:47:33 -07:00
tokens_controller.rb don't allow managing access tokens while masquerading 2012-08-02 10:22:57 -06:00
user_lists_controller.rb Capture a users initial_enrollment_type when invited to a course. Fixes 2012-10-04 14:26:15 -06:00
user_notes_controller.rb fake arel! 2013-03-19 11:10:22 -06:00
users_controller.rb invalidate all sessions on explicit logout 2013-05-08 19:43:55 +00:00
wiki_page_comments_controller.rb fix breadcrumbs when viewing wiki pages in a group; fixes 2012-01-10 09:16:16 -07:00
wiki_page_revisions_controller.rb arel-ify controllers 2013-03-22 20:12:59 +00:00
wiki_pages_api_controller.rb wiki pages CRUD API 2013-04-26 18:17:25 +00:00
wiki_pages_controller.rb wiki pages CRUD API 2013-04-26 18:17:25 +00:00
zip_file_imports_controller.rb make zip file processing asynchronous 2012-02-29 14:04:53 -07:00