Moodle

Hiding but not deleting the enrolment from a user when using external database enrolment

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major 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.

Activity

Hide
Angelo Rigo added a comment -

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.

Show
Angelo Rigo added a comment - 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.
Hide
Anthony Borrow added a comment -

Angelo - Might hiding the role assignment work for you? Have you seen and/or tried http://docs.moodle.org/en/Assign_roles#Hidden_assignments ?

Show
Anthony Borrow added a comment - Angelo - Might hiding the role assignment work for you? Have you seen and/or tried http://docs.moodle.org/en/Assign_roles#Hidden_assignments ?
Hide
Angelo Rigo added a comment -

We do use a helpdesk role as hidden assignment, today teachers does not see hidden assignment, I will test hidden assignment for students. but just hidding the assignment the student still would access the course the idea is not let them have access to the course.

Show
Angelo Rigo added a comment - We do use a helpdesk role as hidden assignment, today teachers does not see hidden assignment, I will test hidden assignment for students. but just hidding the assignment the student still would access the course the idea is not let them have access to the course.
Hide
Angelo Rigo added a comment -

Another solution would be if student A and B are in Group 1 and student A send a file to an assignment and cancel his enrolment in the course, the file sent for the assignment for student A would be somehow assigned to the remaining student from the group 1 , the student B.

Show
Angelo Rigo added a comment - Another solution would be if student A and B are in Group 1 and student A send a file to an assignment and cancel his enrolment in the course, the file sent for the assignment for student A would be somehow assigned to the remaining student from the group 1 , the student B.

People

Vote (4)
Watch (4)

Dates

  • Created:
    Updated: