General developer forum

User enrolment suggestions has a weird behaviour

Picture of Jean-Roch Meurisse
User enrolment suggestions has a weird behaviour
Core developersPlugin developersTesters

Hi there,

A teacher called me this morning because he couldn't enrol students to his course. On the user enrolment modal form (opened from participants page), the auto-complete suggestions list didn't show the users he wanted to enrol. With an admin or sitewide manage role, I didn't have that problem, the suggestions were correct

After some digging, I realized that the problem was that the teacher had both editing teacher and student roles in this course. After removing student role, the suggestions list is correct.

Is that a bug or a feature? I prefer to ask here before opening a ticket in the tracker wink

Thanks in advance

Average of ratings: -