Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-13677

Students can not unenroll themselves from courses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.4
    • Fix Version/s: 1.9
    • Component/s: Roles / Access
    • Labels:
      None
    • Environment:
      all
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      We noticed this after upgrading from 1.6.4+ (2006050540) to 1.8.4+ (2007021541),
      might be related or not, yet to confirm.

      Problem: Student can not unenroll themselves from courses
      student role is created with 'moodle/role:unassignself' as 'Not set',
      thus unenroll link from admin block or profile page is not shown nor
      a student can unenroll at all.

      Looking closely seems that this is defined as the default for student role,
      it happened as well with new courses and new students created under
      version 1.8.4+.

      Solution: set 'moodle/role:unassignself' capability as 'Allow'.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              paulo.matos Paulo Matos
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08