Closed alexmorrisnz closed 2 years ago
Hi @dmitriim I've added a admin level setting to control this.
This has come about as we have a client with 150K+ users who are running into issues with adding the wrong users to sessions as they share names with users not enrolled in the course.
Once this is merged I'll submit two more PRs to add it to 3.11 and 3.4+ branches
@alexmorrisnz can you please create an issue? That would help other people who potentially struggling with the same issue to see that it has been fixed already.
The change looks good to me, but I'd like @danmarsden to have a look also before we can merge it in.
@alexmorrisnz probably you also want to bump a version to make sure lang changes are applied.
+1 from me (after version bump is also added) - feel free to merge that when ready! :-)
@alexmorrisnz this one is merged. Please back-port to MOODLE_34_STABLE and MOODLE_311_STABLE. Thanks!
Hi @alexmorrisnz I don't know a background behind this change, but it looks like it changes an existing logic of building a list of users. Would you consider to add an extra setting to be able to change this logic optionally? That should be relatively easy change that may help people relying on the existing way to be happy.