is it possbile for teacher to view resource and activtiy of all groups
but view the information of students and view/update the grads of only his/her group.
capability accessallgroup is allowed for teachers so they can view the material as default
but I do not know what capability if any I need to update for not viewing the grads of other groups
there is edit grades but it is not for specific group