Lms id fix#396
Open
noahnizamian wants to merge 30 commits intoberkeley-cdss:mainfrom
Open
Conversation
- Implemented user_to_courses_controller.rb with role-based authorization - PATCH endpoint to toggle allow_extended_requests on enrollments - Authorization: only teachers can toggle - Uses lms_id FK pattern from LMS credentials refactoring - Added teacher? method to UserToCourse model for role checking - Complete spec with 7 test scenarios (instructor, student, missing resources) - All tests passing: 365 examples, 0 failures, 80.88% coverage
Mass approve/ reject functionality and UI changes for request table PR reviewed and merged into Golden Repo. Thank you!
Adjust DataTables data-priority values so only Actions, Assignment, and Name columns remain visible on small screens. Bulk action buttons are also hidden on mobile via Bootstrap responsive utility classes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
✅ @noahnizamian — Superconductor finished — View implementation | App Preview Standing by for instructions. |
Added developer login + fake data for local testing
Incorrect due dates on Canvas assignments
…lean Mobile view: hide checkbox and status columns on requests page
Main rebase
Add instructor email notifications for pending requests
Support Lead TA course role
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
General Info
CDSS issue: #304
Changes
New controller with role based auth
Added
teacher?method toUserToCoursemodel for role checkingUses proper foreign key instead of possibly invalid string LMS references
LMS information can be centralized in the LMS table and changes now occur in a single place
Testing
Run the full rspec test suite to test for changes
Documentation
No documentation needed
Checklist