Posting this as a bug from this discussion:
- a course with separate groups
- a non-editing teacher restricted to own group by prohibiting 'accessallgroups' premission
- the 'loginas' permission is set to allow...
But the non-editing teacher cannot log in as any students within their group.
I have tested in another course without groups and this works fine. It seems the problem is with the 'accessallgroups' permission... are they linked in that the user must have both capabilities to allow logging in as another user?