Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34696 enrol improvements 2.4 META
  3. MDL-35063

Add setting for cron action after enrolment expiration - enrol_manual

XMLWordPrintable

    • MOODLE_23_STABLE
    • MOODLE_24_STABLE
    • w38_MDL-35063_m24_manualaction
    • Hide

      1/ set up several courses with manual enrolment
      2/ enrol several users
      3/ edit some of the enrolments to have timeend < now
      4/ execute enrol/manual/cli/sync.php script or cron
      5/ verify nothing changed (because default configuration is to do nothing - current state)
      6/ change expired action in manual enrol settings to suspend and remove roles
      7/ execute the sync again and verify expired enrolments were suspended and self enrolled role removed
      8/ change expired action in manual enrol settings to unenrol
      9/ execute the sync again and verify expired enrolments were removed together with roles

      10/ execute phpunit tests for all supported databases

      Show
      1/ set up several courses with manual enrolment 2/ enrol several users 3/ edit some of the enrolments to have timeend < now 4/ execute enrol/manual/cli/sync.php script or cron 5/ verify nothing changed (because default configuration is to do nothing - current state) 6/ change expired action in manual enrol settings to suspend and remove roles 7/ execute the sync again and verify expired enrolments were suspended and self enrolled role removed 8/ change expired action in manual enrol settings to unenrol 9/ execute the sync again and verify expired enrolments were removed together with roles 10/ execute phpunit tests for all supported databases

      Each plugin is responsible for handling of enrolment expiration, at present nothing happens automatically.

      There should be at least a site-wide setting for:
      1/ nothing (current behaviour)
      2/ remove all roles and suspend (recommended)
      3/ purge enrolment and some user data (very risky - grades, etc. are deleted)

            skodak Petr Skoda
            skodak Petr Skoda
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.