Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Capabilities/moodle/role:unassignself.

Capabilities/moodle/role:unassignself: Difference between revisions

From MoodleDocs
(enabling students to unenrol themselves)
(unenrol me from the course button)
Line 1: Line 1:
*This allows a user to unassign themself from a role in the given context.
*This allows a user to unassign themself from a role in the given context.
*This capability is allowed for the default teacher role and not set for the default student role i.e. a student can't unenrol themself from a course.
*This capability is allowed for the default teacher role and not set for the default student role i.e. a student can't unenrol themself from a course.
*An "Unenrol me from the course" link exists in the course administration block for users with this capability.
*An "Unenrol me from the course" link exists in the course administration block for users with this capability. They also have an "Unenrol me from the course" button in their profile pages.
 
==Student unenrolment==


To enable students to unenrol themselves from a course:
To enable students to unenrol themselves from a course:

Revision as of 19:53, 4 September 2007

  • This allows a user to unassign themself from a role in the given context.
  • This capability is allowed for the default teacher role and not set for the default student role i.e. a student can't unenrol themself from a course.
  • An "Unenrol me from the course" link exists in the course administration block for users with this capability. They also have an "Unenrol me from the course" button in their profile pages.

Student unenrolment

To enable students to unenrol themselves from a course:

  1. Access Administration > Users > Permissions > Define roles
  2. Click the edit icon opposite the student role
  3. Change the unassign own roles capability from not set to allow
  4. Click the "Save changes" button

The role change will take effect when students next login.