Making groups to be visible if user is allowed in course -refs #6963