Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2483. Reimplement Notification Controller and Model #142

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

VaibhaviShetty23
Copy link

This pull request reimplements the notification system to enhance role-based access control and improve data management. Key updates include:

  • Development of a new Notification model and controller to handle CRUD operations.
  • Role-based access control ensuring notifications are accessible only to authorized users (students, instructors, TAs).
  • Association of notifications with specific courses and users, enabling segregation by role and course enrollment.
  • RESTful API endpoints for efficient notification delivery and management.
  • Comprehensive testing for models, controllers, and edge cases to ensure robustness.

Soubarnica Somangali Suresh and others added 18 commits November 21, 2024 00:42
…641ae9:/app# rails zeitwerk:check

                                                          Hold on, I am eager loading the application.
                                                          expected file app/controllers/api/v1/notifications_controller.rb to define constant Api::V1::NotificationsController
- in notifications schema, FK is course_name instead of course_id
- added new SQL script to escalate permissions to access reimplementation_test table as user dev that runs at every build
…correct namespace for NotificationController, added notification model spec and successfully ran tests.
Added config.routes.rb custom action routes, fixed routing spec with …
Merge branch controller_reimp to Main
Sessions does not save and we need to use a token based approach in the backend.
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.

3 participants