1. Uncheck students on $CFG->profileroles
2. Enrol student into a course
3. Check if it's shown on the participants list of the course
4. Give one of the course participants both teacher and student role (you can give role in parent context as well)
5. Make sure he appears on the participants page
1. Uncheck students on $CFG->profileroles
2. Enrol student into a course
3. Check if it's shown on the participants list of the course
4. Give one of the course participants both teacher and student role (you can give role in parent context as well)
5. Make sure he appears on the participants page
The original patch for this issue was integrated and released, but then reverted when a nasty regression was found (see MDL-42875 and MDL-48091).
This is a new issue to continue work on fixing this bug.
has a non-specific relationship to
MDL-26946Option to hide participants in navigation block
Closed
will help resolve
MDL-42875profileroles setting is not being considered on participants list