canvas-lms/spec/controllers
James Williams 9e1a4ed682 only show active users to students in group roster
test plan:
* enroll two students in a course and add them
 to a group
* they should be able to see each other in the
 group roster
* inactivate one of the students
* they should no longer be visible in the group
 roster to the other student
* they should still be visible to the admin

closes #CNVS-27441

Change-Id: Ia4addb3d269a6bc84bbc08815ebf7d666512179e
Reviewed-on: https://gerrit.instructure.com/73284
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2016-03-03 16:50:46 +00:00
..
bookmarks bookmark api: handle string position, fixes CNVS-20628 2015-05-26 22:37:18 +00:00
filters rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
login render bad_request on saml logout when aac cannot be found 2016-01-20 20:56:09 +00:00
lti refactor lti2 resource_link_id 2015-12-18 00:07:52 +00:00
quizzes relock associated module when assignment overrides change 2016-03-02 18:03:10 +00:00
account_authorization_configs_controller_spec.rb Soft delete accont authorization configs 2015-06-12 20:10:28 +00:00
accounts_controller_spec.rb only allow view courses with that permission 2016-01-28 20:48:13 +00:00
announcements_controller_spec.rb announcements rss feed shows correct list of visible announcements 2015-04-16 14:31:32 +00:00
app_center_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
application_controller_spec.rb optimize several N+1 queries in CalendarEventsApiController#index 2016-02-24 17:55:09 +00:00
assignment_groups_controller_spec.rb add scope_assignments_to_student parameter 2016-02-03 21:32:33 +00:00
assignments_controller_spec.rb log external tool assignment views as assignment AUAs 2016-02-23 17:54:09 +00:00
auditor_api_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
brand_configs_controller_spec.rb translate brandable css variable names 2015-10-27 18:26:39 +00:00
calendar_events_controller_spec.rb don't create a calendar event with the "new" endpoint 2015-04-09 20:25:22 +00:00
calendars_controller_spec.rb Add assignment details to ICS Feed 2015-11-17 16:20:20 +00:00
canvadoc_sessions_controller_spec.rb Add date of (canva|croco)doc student view to speedgrader 2016-01-14 00:03:23 +00:00
collaborations_controller_spec.rb allow content-item to create collaborations 2016-02-26 23:26:43 +00:00
communication_channels_controller_spec.rb Add API to bulk fetch and reset communication channels 2016-01-11 21:19:42 +00:00
conferences_controller_spec.rb log external tool assignment views as assignment AUAs 2016-02-23 17:54:09 +00:00
content_exports_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
context_controller_spec.rb only show active users to students in group roster 2016-03-03 16:50:46 +00:00
context_modules_controller_spec.rb return multiple due date info for survey quizzes on modules page 2015-12-07 18:12:29 +00:00
conversations_controller_spec.rb rails 4.2: fix controller, integration and view specs 2016-01-22 20:01:11 +00:00
courses_controller_spec.rb fix courses list with multiple enrollments in different states 2016-02-22 16:18:31 +00:00
crocodoc_sessions_controller_spec.rb Add date of (canva|croco)doc student view to speedgrader 2016-01-14 00:03:23 +00:00
developer_keys_controller_spec.rb Dev keys created from site admin shouldnt have an account id 2015-10-05 16:06:36 +00:00
discussion_entries_controller_spec.rb add media extension to download redirect urls for podcast rss 2015-04-21 20:27:12 +00:00
discussion_topics_api_controller_spec.rb log external tool assignment views as assignment AUAs 2016-02-23 17:54:09 +00:00
discussion_topics_controller_spec.rb Split :read_forum and :read_announcements permissions 2016-02-18 21:42:03 +00:00
eportfolio_categories_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
eportfolio_entries_controller_spec.rb fix Style/EmptyLineBetweenDefs issue 2015-04-29 16:28:39 +00:00
eportfolios_controller_spec.rb fix ePortfolios not zipping if there's a blank page 2016-02-05 17:26:22 +00:00
epub_exports_controller_spec.rb fix link to ePub export page not showing 2015-11-19 20:05:13 +00:00
equation_images_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
errors_controller_spec.rb record real user when error report is submitted in student view 2015-09-24 14:40:57 +00:00
external_content_controller_spec.rb LTI Reregistration 2015-12-17 23:26:05 +00:00
external_tools_controller_spec.rb allow content-item to create collaborations 2016-02-26 23:26:43 +00:00
file_previews_controller_spec.rb rails 4.2: s/destroy!/destroy_permanently! 2016-01-07 14:00:13 +00:00
files_controller_spec.rb rails 4.2: fix controller, integration and view specs 2016-01-22 20:01:11 +00:00
folders_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
gradebook_csvs_controller_spec.rb use course#short_name for gradebook csv filename 2015-06-11 21:06:53 +00:00
gradebook_history_api_controller_spec.rb gradebook history api: ignore deleted submissions 2015-11-20 16:54:28 +00:00
gradebook_uploads_controller_spec.rb gradebook importer files through S3 2016-02-05 16:06:02 +00:00
gradebooks_controller_spec.rb don't allow inactive students to access course grades 2016-02-23 16:58:17 +00:00
grading_periods_controller_spec.rb Validate overlapping periods in memory 2015-11-13 18:47:57 +00:00
grading_standards_controller_spec.rb fix grading standard creation 2015-12-18 23:01:06 +00:00
group_categories_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
groups_controller_spec.rb Show current groups and previous groups separately 2015-08-27 01:52:50 +00:00
info_controller_spec.rb expose installation uuid in health_check 2015-11-06 04:37:36 +00:00
jwts_controller_spec.rb add host to services jwt entry 2016-02-11 00:02:03 +00:00
legal_information_controller_spec.rb [SOC-2] use terms_of_use_url and privacy_policy_url helpers 2015-01-23 22:30:27 +00:00
login_controller_spec.rb fix authentication_provider= with ids not names 2015-10-20 21:36:09 +00:00
media_objects_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
messages_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
oauth2_provider_controller_spec.rb start expiring access tokens created by new dev keys 2015-10-28 22:00:55 +00:00
oauth_proxy_controller_spec.rb Use json-jwt instead of ruby-jwt 2015-10-31 13:05:59 +00:00
outcome_results_controller_spec.rb fix 400 errors on student lmgb 2015-11-30 21:39:36 +00:00
outcomes_controller_spec.rb fix user outcome results for accounts 2016-01-27 23:48:31 +00:00
page_views_controller_spec.rb don't double render on page view cassandra error 2015-12-29 18:04:57 +00:00
plugins_controller_spec.rb fix saving plugins with no settings 2016-01-11 17:09:46 +00:00
profile_controller_spec.rb validate user_profile_links.url 2015-09-02 21:54:54 +00:00
pseudonyms_controller_spec.rb document and extend usage of integration_id for users 2016-02-18 20:11:01 +00:00
question_banks_controller_spec.rb add CONTEXT_URL_ROOT to js_env in QuestionBanksController#show 2016-02-08 19:19:09 +00:00
role_overrides_controller_spec.rb enforce not-null on role overrides.enabled and locked 2016-02-01 17:11:50 +00:00
rubric_assessments_controller_spec.rb drop comments from rubric_assessments 2015-08-28 15:15:23 +00:00
rubric_associations_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
rubrics_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
search_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
self_enrollments_controller_spec.rb add authentication_provider support to self enrollment controller 2015-07-22 19:12:44 +00:00
sub_accounts_controller_spec.rb disallow deleting accounts that recursively contain courses 2015-06-26 21:51:14 +00:00
submission_comments_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
submissions_controller_spec.rb Remove Google Docs plugin 2016-02-01 23:41:53 +00:00
terms_controller_spec.rb don't allow terms with active courses to be deleted 2015-02-02 13:36:02 +00:00
tokens_controller_spec.rb allow deactivating developer keys 2015-09-16 18:31:33 +00:00
tours_controller_spec.rb rspec 3-ify spec/controllers 2014-10-14 16:34:30 +00:00
user_lists_controller_spec.rb new roles 2014-10-31 19:44:14 +00:00
users_controller_spec.rb document and extend usage of integration_id for users 2016-02-18 20:11:01 +00:00
wiki_pages_controller_spec.rb make sure you can view all wiki pages from wiki front_page 2015-10-31 20:14:50 +00:00