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.

Domain
Social
Action
fix
Department
Backend

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
๐Ÿ› ๏ธ

Bug & Fixes

Tags

High Priority

Date

12 months ago

Author

Zelalem Habtamu

Subscribe to post

Get notified by email when there are changes.