Description:
Implement role-based access control to ensure that only enrolled users or those with the appropriate role can access course progress data and task details.
Expected Endpoints:
Role-Based Access Control:
Applied across all relevant endpoints Purpose: Ensure only users with the appropriate role or enrollment can access specific data.
Description:
Implement role-based access control to ensure that only enrolled users or those with the appropriate role can access course progress data and task details.
Expected Endpoints:
Applied across all relevant endpoints
Purpose: Ensure only users with the appropriate role or enrollment can access specific data.
Updated Models:
User
,Course
,Lecture
,Task
,UserCourseProgress
,UserLectureProgress
,UserTaskProgress
Ensure that role checks are integrated into the models for controlling access.