Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.9.3
-
Fix Version/s: DEV backlog
-
Component/s: Authentication, Enrolments
-
Labels:
-
Environment:Linux, Mysql, PHP
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
Today when using external database enrolments, if a user is unenrolled and he is the user who previously send a file to a group task in his course, the others students in his group will receive no grade. His entry is removed from the task and for that group the attempt is removed too.
Can we just hide the user participation in the course instead of deleting his enrolment, maybe a collumn named deny in the enrolment table can figure it out, so the others users in the group can be identified as group members allowing to have a grade assigned.
Steps to reproduce:
In the pictures attached can be seen that student A (Aluno A) is the one who send the file for the Group 1, later he is unenrolled and the Group 1 has just student B and the message that for this group there is no attempts.
a) Create a task configure as group (visible or separate).
b) Enroll 4 students in the course (student_a, student_b, student_c, student_d).
c) Create two groups (G1, G2), assign student_a and student_b in the G1 and the remaining in the G2.
d) For G1 send a file by the logging as student _a, for G2 send a file by the logging as student _c
e) See for G1 the task attempts an notice there is a attempt for G1.
f) Unenroll student_a repeat step e and noticve there is no attempt for G1.
Thank“s in advance.
Could it be one more option in course>enrollments>external database options just like could be called enrol_db_hideunenrol so at the ende of the semester i can set to all students be unenrolled.