Skip to content

[WIP] LTI NRPS roster integration#1654

Closed
najclark wants to merge 52 commits into
masterfrom
nrps-roster-integration
Closed

[WIP] LTI NRPS roster integration#1654
najclark wants to merge 52 commits into
masterfrom
nrps-roster-integration

Conversation

@najclark

Copy link
Copy Markdown
Contributor

Description

Builds on the Implement LTI Advantage NRPS GET request PR
Implements logic to take the NRPS membership data and updates the roster of a course.
Screen Shot 2022-11-26 at 2 37 13 AM
Created new 'lti settings' modal.

How Has This Been Tested?

Going through the LTI linking instructions outlined in this PR

Navigate to 'Manage Course Users'
Screen Shot 2022-11-26 at 2 42 37 AM
Click the refresh button
Verify that additional students have been added to the course.

Click 'Autolab Test Link Settings'
Screen Shot 2022-11-26 at 2 44 18 AM
Check 'Auto drop students not enrolled on Autolab Test', then press 'Save'
Screen Shot 2022-11-26 at 2 42 37 AM
Click the refresh button
Verify that the students that weren't added in the previous task are now marked as dropped

Click 'Autolab Test Link Settings'
Click 'unlink' and verify unlinking a course works as expected (i.e. 'Autolab Test Link Settings' should not appear on the 'Manage Course Users' page)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have run rubocop for style check. If you haven't, run overcommit --install && overcommit --sign to use pre-commit hook for linting
  • My change requires a change to the documentation, which is located at Autolab Docs
  • I have updated the documentation accordingly, included in this PR

- fix error for no cuds for non-admin instructor
…uest via Client-Credentials Grant

- Add lti_context_membership_url to course_user_data to store NRPS course membership url for NRPS requests
- Add placehold frontend to initiate requests
- remove amount of parameters sent to users controller
20wildmanj and others added 20 commits November 18, 2022 04:29
…tform public key or fetch public JWKs from URL provided in lti_settings.yml

  - necessary because platform could be using multiple private keys to sign their JWTs, so we need to fetch all of their public keys to validate the JWT returned during launch
- clean up lti_nrps_controller
…an-nrps

# Conflicts:
#	app/controllers/courses_controller.rb
#	app/views/courses/users.html.erb
@damianhxy damianhxy self-requested a review November 27, 2022 20:06
@najclark

Copy link
Copy Markdown
Contributor Author

Closing this PR, updated PR here: #1657

@najclark najclark closed this Nov 28, 2022
@damianhxy damianhxy deleted the nrps-roster-integration branch March 4, 2023 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants