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
Log in to comment and vote
Comments2
Mattia Vaccari
Apr 17, 2025
And a check for the other percentage of completion set is available in the BE @Zelalem Habtamu ?
Zelalem Habtamu
Apr 20, 2025
Yes @Mattia Vaccari , it works for other percentages of completion. the issue is with 0%