re MDL-26835
I'm trying to figure out whether users who have had their enrollment suspended should be hidden entirely in the grade book or if they should appear but be flagged in some way. Let me know what you think
Andrew
I believe that they SHOULD appear (some flag would be nice).
We have studnets who withdraw. We need to be able to:
a) "deny" access to such students, so they will not see the course anymore
b) still see them in the gradebook and other activities as usual
Moodle 1.9 allowed to do that with adding a student to another role and setting moodle/course:view to Prevent
Moodle 2.0 switched that logic: MDL-26373 (surprise to those who upgrade! :)
If suspended users will not appear, we will have absolutly no way to achieve this very common scenario.
I agree, it would be best to be able to keep the suspended students in the report but with some sort of flag/visual indication as to their status on the reports. The option can then also be provided to not list suspended students for the scenarios in which we don't need them (perhaps some sort of 'Show All / Active only' link that can be clicked to show/hide them).
Further to this is to make sure grade averages and exporting the gradebook functionality are clear in this instance:
Hello!
This post is a little old but It´s just what I´m looking for: I need to suspend/deny/block the access to students who are not eligible for a course, without affecting their access to other courses. I´m considering this because I need the students enrolled, they come to complain. I´m using Moodle 1.9.
Thank you.
Sorry to sound a dissenting note, but I am not sure.
It all depends what we mean by 'Suspended' users.
1. The interpretation one might deduce from MDL-26373 is that suspending a user is the right way to temporarily prevent them from coming in to the course.
2. A user whose enrolment has been suspended is effectively un-enrolled from the course. In Moodle 2.0, if you unenrol a user, then all the data about that user in the course, including grades, should be deleted. Therefore, if you care about keep complete records, or if you are worried about making a mistake, and would like unenrolling a user to be undoable, then you can never use un-enrol. You should always suspend the enrolment instead. (That is also advice given by Petr Skoda, who is giving the advice about the use of suspend in MDL-26373 above.)
In you believe 1., then having the suspended users appear in the gradebook, but styled different is right.
If you believe 2. Then suspended users should not appear in the gradebook.
I'm afraid I think that both these cases are important. There must be a way to temporarily suspend a user's access to the course, and there must be a way to effectively unenrol a user that does not cause dataloss.
Therefore, there is not a good answer in the gradebook.
Make it configurable is a feeble answer.
A proper answer is probably to work on the enrolment data-model, so that it can correctly capture the difference between 1. and 2., but that is a lot of work.
It's my understanding that setting a user to a 'suspended' enrolment is the way to effectively unenrol a user without data loss. Whereas actually unenroling them is more for the 'we want all record of this student here gone' or the 'this student was enroled by mistake' or simply for those cases where when a course ends, the institution wants to remove all record from moodle of them in the course scenarios.
I also believe styling the users different somehow in the gradebook is the way to go here. It just seems like a good idea to be able to have such 'effectively unenrol'ed students hidden completely if you so choose.
Hi Tim and Bob, I just want to clarify.
Tim said : "1. The interpretation one might deduce from MDL-26373 is that suspending a user is the right way to temporarily prevent them from coming in to the course."
That is my assumption. Suspended user stays fully enrolled in the course and his grades stay in tact. He just loses access.
That's what I have asked for, I believe , in the ticket, and thus Petr suggested a new solution.
For #2 (need to keep grading history for unenrolled/removed students), we have this one going on: MDL-25718, as far as I understand.
So if you unenroll someone by accident and then add back, his grade history will be restored.
I, overall, believe that we should never delete student grading data.
I've opened the following ticket: http://tracker.moodle.org/browse/MDL-27322
Since we now have suspended users flagged in the gradebook, it makes sense to be able to have a similar distinction in the exporting of the gradebook. An extra field that mentions the enrolment state of the user (that would be ignored on gradebook import).
Thoughts?
If you mean in the Grader report, you can select in your grader report preferences whether to show all users (including suspended users) or not. See Grade settings
Moodle version 3.0.2
The grader report setting mentioned by Mary Cooch does not work for me.
A user named Fred is enrolled in a course. Fred begins the course, but fails the quiz. Thus, he has a (failing) grade so far, and has not yet completed the course.
As the site administrator, I do the following.
However, Fred the suspended user still appears in the Grader report.
The help text for that "Show only active enrolments" setting says:
This setting determines, if only active enrolled users will be visible in gradebook report. If enabled suspended users will not be shown in gradebook.
Therefore, a setting value of "Yes" seems to be appropriate if do not want to see a suspended user in the Grader report.
Is this a bug? Or am I mis-understanding the setting?
Fred is enrolled in the course automatically, because he is a member of a cohort that the course is setup to sync with. Is the cohort sync part of the reason that Fred the suspended user continues to appear in the Grader report?
Hi, Mike.
I reproduced your results just to make sure I was following your steps accurately before reporting back, here. So what you have done is to suspend your user at the SITE level. This means that user can no longer log in, but all other records posted and grade histories, etc. are otherwise considered active. This allows teachers to continue to control whether they see students who have been suspended or not. Think of a kid who commits a user policy violation and gets kicked off Moodle but is still submitting work in classroom kind of situation and this will seem less redundant. The setting you need to trip for courses is inside the course enrollments area for that user. See attached.
Once I did that (and I changed the grader report preferences to a full yes, not just a default yes to be certain I would turn that off in the grader report) I could no longer see that user in my grader report.
If I made her active again, her grade info was restored as per failed quiz showing in report.
Hope that helps. Best,
Lesli
Thank you, Lesli. You have made a clear distinction between site-scope suspension and course-scope suspension that I was missing.
For a user that is manually enrolled in a course, I am able to course-scope suspend that user by editing his course enrollment settings as you referenced in your screenshot. Once that user is suspended, the Grader report correctly excludes him.
For a user that is enrolled in a course via cohort sync, there is not a way to course-scope suspend the user. But that is OK, now that I understand it.
I don't know about automatically, but you can do this via CSV if that makes it an easier process.