Students can't edit if groups are used

Students can't edit if groups are used. It doesn't matter if group mode is "Separate" or "visible" Students can edit only if there are no groups in Wiki. It works when a teacher uses "Login as" button.