Best practice forum (Archived)

Preventing Users from Unenrolling whilst they are still booked for a face to face session

 
Matthew Carson
Preventing Users from Unenrolling whilst they are still booked for a face to face session
di Matthew Carson - Monday, 2 June 2014, 23:15
 

Hi everyone, just wondering if there is a way that we can prevent users from unenrolling themselves from a course whilst they are still booked in for a face to face session. We are finding that it is still keeping the user in the attendance list for a course even though they are no longer enrolled in that course. This obviously has implications for attendance lists and waitlists.

Any help would be appreciated. We are using Totara 2.2

Thanks

Tom Ireland
Re: Preventing Users from Unenrolling whilst they are still booked for a face to face session
di Tom Ireland - Tuesday, 3 June 2014, 03:31
Gruppo Totara

Hi, Matthew

This could be achieved by overriding the permission for the required role e.g. Learner, at the course level, although, by default this capability is normally not set for any of the default roles.

For manual enrolments, there is a capability enrol/manual:unenrolself that you can search for and prevent at the course level. This would disable the ability for Learners to un-enrol themselves from a course.

  1. Within the required course, go to: Course administration > Users > Permissions
  2. From the drop-down, select the required role to override
  3. Search for the capability enrol/manual:unenrolself (this is specific to manual enrolments)
  4. Select the Prevent radio button from the Permissions list

There is more information on the Moodle docs pages here - http://docs.moodle.org/22/en/Capabilities/enrol/manual:unenrolself

Cheers

Tom