Changing Enrolment Status and User Role

Changing Enrolment Status and User Role

by Jen Nugent -
Number of replies: 1

Hello! I am very new to using Moodle (I believe we have V.3.8), and I am trying to learn as much as possible as we continue to make use of the platform in lieu of in-person classes during the pandemic. I am wondering if it is possible to do the following:

1. When a new user is enrolled in a course, they are assigned the role of a student, and given an enrollment period of 365 days.

2. However, once the user has completed a course, we would like to be able to change their role to that of "graduate". This is a role site admin has created that is very similar to that of a guest (ie., they can look at the materials, but not participate in the course), but still requires the user to use their username and login to access the course.

3. When a student's role is changed from "student" to "graduate", is there a way to automatically remove their past assignments, lesson submissions, etc. from the course?

4. Does Moodle have a function where a user can be automatically changed from a "student" to a "graduate" after a certain period of time (that also removes their contributions, and just leaves them with general access to course material)?

Essentially, what I'm trying to do is give users one year to use our Moodle resources. When they first begin, they are students, but once they have finished their program (typically about five weeks), I still want to them to be able to come back and look at the material over the course of the remaining year. However, we have new program enrollments every six weeks, so it gets cumbersome sifting through current and past submissions without just manually deleting things each time I login.

I hope this all makes sense, and I hope someone is able to provide me with some insight on my question! Thanks in advance (and remember I'm not super technologically inclined. hahaha). 😊

Average of ratings: Useful (1)
In reply to Jen Nugent

Re: Changing Enrolment Status and User Role

by Renaat Debleu -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
  1. Most enrollment plugins let you specify a duration.
  2. The plugin enrol_coursecompleted let you add a role to a user when the course is completed (read everything about course completion and enrollment before implementing this). However this plugin does not remove the original role.
  3. Removing submissions and assignments from a student is not done automatically, but an enrollment plugin can be configured in different ways what to do when the enrollment expires: keep user enrolled - disable course enrollment - disable course enrollment and remove role - unroll user from course.
  4. NO

A lot of what you try to do is possible, except the automatic removal of student data.  Plugins normally stay far away from removing information (you do not want that someone installs a plugin by mistake and all the submissions of the students are gone).

 

R