Function get_user_details_by_courses

Source
pub async fn get_user_details_by_courses(
    user: AuthUser,
    pool: Data<PgPool>,
    payload: Json<UserDetailsRequest>,
) -> ControllerResult<Json<UserDetail>>
Expand description

POST /api/v0/main-frontend/user-details/user-by-courses - Find user details by user id with multi-course permission check Returns user details if the user has permission to view user details through any of the specified courses