Please see the documentation: Groups FAQ and the question 1.6 How do I restrict a teacher to view only the information about the group they are in?
Roles and permissions
1 Course - more teachers and groups
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.