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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.7.1
    • Authentication
    • None
    • MOODLE_27_STABLE

      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.

            Unassigned Unassigned
            abias Alexander Bias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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