Add boolean parameter 'showAllAssignedCourses' in function 'getCoursesFo...

...llowedByUser' to retrieve all assigned courses if needed - refs #7296
OK, indeed. Sorry.