Restrict unerollment

Restrict unerollment

by Paul Wakelam -
Number of replies: 2

Hi,

I want to make sure that teachers cannot unenrol students that have received grades , is there any way of doing this ?

rgds Paul

Average of ratings: -
In reply to Paul Wakelam

Re: Restrict unerollment

by Emma Richardson -
Documentation writers колдонуучунун сүрөтү Particularly helpful Moodlers колдонуучунун сүрөтү Plugin developers колдонуучунун сүрөтү

You can remove the permission so that they cannot manage enrollment so but you cannot limit this to just those students that have no grades.  The grades are saved if they are unenrolled however if that is what you are concerned about.

In reply to Emma Richardson

Re: Restrict unerollment

by Paul Wakelam -

It looks like if I want to stop deletion of graded enrolments my two options are to create a custom capability OR to modify the existing unenroll form 

http://docs.moodle.org/dev/NEWMODULE_Adding_capabilities

http://docs.moodle.org/dev/Form_API

Does anyone know which is easier and more stable over multilple versions ? 

Hi Emma,

Thank-you for replying over what for us in Australia is a holiday weekend.May the Easter bunny bring you many eggs !

 rgds Paul