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

LDAP Sync script: Add grace period for users who have disappeared in LDAP

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      The Moodle core LDAP synchronization script only provides the option to suspend or delete Moodle accounts for LDAP users which have disappeared in LDAP.

      This all-or-nothing solution does not fit for all scenarios.

      For example, a LDAP account may disappear because a student has been exmatriculated automatically for formal reasons (missed paying student fee or anything like this). Some days later, he is immatriculated again when the formal problems have been solved and re-appears in LDAP.

      If I configure Moodle to delete Moodle accounts as soon as a LDAP account disappears, the Moodle account is already lost if the LDAP account re-appears.
      If I configure Moodle to suspend Moodle accounts as soon as a LDAP account disappears, Moodle accounts of re-appearing LDAP accounts can be revived, but I end up with a large amount of suspended accounts which will never be needed.

      I would like to propose to add another option what to do if a LDAP user disappears:
      This option should suspend users which have disappeared in LDAP for a configurable amount of days and delete them only after this grace period.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              abias Alexander Bias
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: