Update review eligibility validation on course review creation

Currently, when a teacher publishes a course with a 0% review completion requirement, the frontend prevents users who are not enrolled from submitting a review. However, the backend does not enforce this restriction, allowing any user to submit a review regardless of enrollment status.
Update the backend implementation to ensure that only enrolled users can submit a review. If a non-enrolled user attempts to submit a review, return an appropriate error response.

DomainSocial
Actionfix
DepartmentBackend

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🛠️

Bug & Fixes

Tags

High Priority

Date

Over 1 year ago

Author

Zelalem Habtamu

Subscribe to request

Get notified by email when there are changes.