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

Implement Grades Assigning #62

Merged
merged 33 commits into from
Dec 26, 2023
Merged

Implement Grades Assigning #62

merged 33 commits into from
Dec 26, 2023

Conversation

romandykyi
Copy link
Owner

@romandykyi romandykyi commented Dec 26, 2023

This pull requests implements grades assigning and enhances students privacy.

Added endpoints

  • GET api/users/students/[studentId]/grades
  • GET api/groups/[groupId]/grades
  • GET api/groups/[groupId]/students/[studentId]/grades
  • GET api/assignedGrades
  • POST api/assignedGrades
  • PUT api/assignedGrades/[assignedGradeId]
  • DELETE api/assignedGrades/[assignedGradeId]

Privacy changes

Students can no longer access other students via semesters or groups HTTP methods(after redesign-get-by-ids-dtos will be merged).

romandykyi and others added 30 commits December 9, 2023 18:34
Renamed `ViewStudentEnrollmentsAuthorizationHandler` into `AccessOnlyOwnDataAuthorizationHandler` and made it more modular.
Implemented all assigned grades get methods that doesn't require creating a new controller, such as:
* api/users/students/[studentId]/grades
* api/groups/[groupId]/grades
* api/groups/[groupId]/students/[studentId]/grades
@romandykyi romandykyi merged commit 762d599 into master Dec 26, 2023
@romandykyi romandykyi deleted the implement-grades-assigning branch December 26, 2023 20:15
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.

1 participant