Unenrolment: Difference between revisions
Tomaz Lasic (talk | contribs) No edit summary |
Mary Cooch (talk | contribs) (updated longtimenosee) |
||
Line 7: | Line 7: | ||
Unenrolment can be controlled by the following: | Unenrolment can be controlled by the following: | ||
* The ''longtimenosee'' | *The ''longtimenosee'' setting in'' Settings>Site administration>plugins>Enrolments>Self enrolment'' can be set to specify a time after which a student is automatically unenrolled from a course if they haven't accessed it for a long time. | ||
* The ''Enrolment duration'' in the [[Course_settings|course settings]], which unenrols students after the specified time has elapsed. | * The ''Enrolment duration'' in the [[Course_settings|course settings]], which unenrols students after the specified time has elapsed. | ||
* An [[Enrolment plugins]] may decide that the enrolment has expired. For example, a user name for a course is not present in an [[LDAP enrolment|LDAP]] database, or if a [[Flat file]] is processed by Cron. | * An [[Enrolment plugins]] may decide that the enrolment has expired. For example, a user name for a course is not present in an [[LDAP enrolment|LDAP]] database, or if a [[Flat file]] is processed by Cron. |
Revision as of 11:59, 8 September 2011
Please refer to these notes before editing this page.
Unenrolment is the process of not allowing a student to return to a course. Usually this process does not purge student information, just access.
Site and course settings for unenrolment
Unenrolment can be controlled by the following:
- The longtimenosee setting in Settings>Site administration>plugins>Enrolments>Self enrolment can be set to specify a time after which a student is automatically unenrolled from a course if they haven't accessed it for a long time.
- The Enrolment duration in the course settings, which unenrols students after the specified time has elapsed.
- An Enrolment plugins may decide that the enrolment has expired. For example, a user name for a course is not present in an LDAP database, or if a Flat file is processed by Cron.
- The capability moodle/role:unassignself, which allows a user to unassign themself from a role in the given context (see below).
Student unenrolment
By default, students are unable to unenrol themselves from courses.
To enable students to unenrol themselves from any course on the site that they are enrolled on:
- Access Administration > Users > Permissions > Define roles.
- Click the edit icon opposite the student role.
- Change the moodle/role:unassignself capability from not set to allow.
- Click the "Save changes" button at the bottom of the page.
To enable students to unenrol themselves from a particular course:
- Follow the Assign roles link in the course administration block.
- Follow the "Override roles" link. (In Moodle 1.9 onwards, click the "Override permissions" tab.)
- Select the Student role.
- Set the capability moodle/role:unassignself to allow.
- Click the "Save changes" button at the bottom of the page.
Note: By default, only administrators are able to override permissions. Instructions on enabling teachers to override permissions can be found in Override permissions.
The role change will take effect immediately in Moodle 1.9, or when students next login in Moodle 1.7 and 1.8. Students will have an "Unenrol me from the course" link in the course administration block and an "Unenrol me from the course" button on their profile page.
Teacher unenrolment
By default, teachers may unenrol themselves from courses in which they are assigned the role of teacher.
To prevent teachers from unenrolling themselves by mistake:
- Access Administration > Users > Permissions > Define roles.
- Click the edit icon opposite the teacher role.
- Change the moodle/role:unassignself capability from allow to not set.
- Click the "Save changes" button at the bottom of the page.