5339: added check for groups membership, or check for instructor who sees all