by Randy Thornton.
So far, so good.
Now you need to add the users to the category role. So in Manage courses and categories, for that category click the gear icon and choose "Assign roles." This works very similar to the way that the Assign system roles does, just it assigns roles only for that category (and its subcategories).
Then go into a course as one of those users you have assigned that role, and try to Import something: you should now be able to choose from the courses in that category as well as any courses the user is actually enrolled in.
Now you need to add the users to the category role. So in Manage courses and categories, for that category click the gear icon and choose "Assign roles." This works very similar to the way that the Assign system roles does, just it assigns roles only for that category (and its subcategories).
Then go into a course as one of those users you have assigned that role, and try to Import something: you should now be able to choose from the courses in that category as well as any courses the user is actually enrolled in.