XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5
    • Component/s: Backup, Enrolments
    • Labels:
    • Testing Instructions:
      Hide

      1/ set up ldap_enrol and some user enrolments into LDAP directory
      2/ try existing enrolling/unenrolling via sync script - verify there are no regressions
      3/ try existing sync on user login - verify there are no regressions
      4/ backup course with ldap enrolments
      5/ restore on different server without ldap enrol - no roles should be restored by default
      6/ restore on the same server - the results depends on selected unenrol action
      6a/ unenrol - the results depend on idnumber of the restored course, no idnumber===no enrolments; the contents of restore are pretty much ignored
      6b/ keep - all enrolments should be restored
      6c/ suspend - depending on presence of course idnumber the enrolments should be restored

      Note: this is expected to be working the same way as enrol_database restore. Testers are expected to know how to configure LDAP sync.

      Show
      1/ set up ldap_enrol and some user enrolments into LDAP directory 2/ try existing enrolling/unenrolling via sync script - verify there are no regressions 3/ try existing sync on user login - verify there are no regressions 4/ backup course with ldap enrolments 5/ restore on different server without ldap enrol - no roles should be restored by default 6/ restore on the same server - the results depends on selected unenrol action 6a/ unenrol - the results depend on idnumber of the restored course, no idnumber===no enrolments; the contents of restore are pretty much ignored 6b/ keep - all enrolments should be restored 6c/ suspend - depending on presence of course idnumber the enrolments should be restored Note: this is expected to be working the same way as enrol_database restore. Testers are expected to know how to configure LDAP sync.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w02_MDL-35159_m25_enrolldap

      Description

      This problem has two parts:
      1/ we need to create sync for one course - this will be executed automatically before first enrol instance is created in restore
      2/ if enrol_ldap is enabled and is configured to keep enrolments we could create suspended user enrolments without roles

      Please note that MDL-35071 already adds an option to "Restore as manual enrolments" which allows you to restore ldap_enrolments as manual enrolments in any site.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Integrator:
              Dan Poltawski
              Tester:
              David Monllaó
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/May/13