XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.5
    • Backup, Enrolments
    • MOODLE_23_STABLE
    • MOODLE_25_STABLE
    • w02_MDL-35159_m25_enrolldap
    • 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.

    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

              skodak Petr Skoda
              skodak Petr Skoda
              Dan Poltawski Dan Poltawski
              David Monllaó David Monllaó
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/May/13