Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-4460

Deprovisioning user: status "inactiv"

    XMLWordPrintable

    Details

    • Funded by:

      Description

      Implement a new user status "inactive". Such a user can no longer be actively found in the GUI (user search), but all data would remain available and all memberships (course, group, participant list etc.) would remain transparent for all users.

      Todo:

      • Create admin user module with section "Automatic Life-Cycle management"
        • Enable/disable "Deactivate user after inactivity"
          • input field for number of days of inactivity
          • enable/disable mail notification before disabling
            • input field for number of days before status inactive
            • link to SingleKeyTranslatorController or similar to quickly customize the mail template
          • enable/disable mail notification after disabling
            • link to SingleKeyTranslatorController or similar to quickly customize the mail template
        • Enable/disable "Delete inactive user"
          • input field for number of days of status inactive
          • enable/disable mail notification before deleting
            • input field for number of days
            • link to SingleKeyTranslatorController or similar to quickly customize the mail template
          • enable/disable mail notification after deleting
            • link to SingleKeyTranslatorController or similar to quickly customize the mail template
      • Extend user/identity model with status "inactive" and "inactivation date"
      • In normal user-search don't show users with status "inactive" (same as deleted)
      • In user visible lists (group members, course members etc) show inactive users as normal users.
        • They are still in those groups and users must be aware of it
        • Mark inactive users somehow (either additional (optional) user-status column or by making column italic or a hover text
      • In places like forum, mark users as inactive the same way we mark deleted users (but still show the name etc)
      • Prevent sending notifications, remainder, emails etc. for inactive users
      • In the usermanagement 
        • add column
          • status -> user status. Optional column
          • inactivation date -> date when the inactive status has been set or empty when not inactive. Optional column
          • days to deactivated -> only available when automatic deprovisioning enabled. Calculated base on last login and inactive configuration. Optional column
          • days to delete -> only available when automatic deprovisioning enabled. Calculated base on inactivation date and delete configuration. Optional column
        • add filter to lists with the user status, exclude inactive users by default
        • add table search to lists
        • add status change to bulk action (either to wizard or new action)
        • add status inactive to user profile -> roles
        • add "inactive users" to status menu 
      • Migration process that sets users to inactive and sets inactive date that have been notified via LifeCycleManager and current delete process
      • Implement a daily job that runs when the Automatic Life-Cycle management is enabled
        • search for users with status "active/pending/login denied" and "last login date" > "days of inactivity" -  "days before status inactive" config
          • send mail
        • search for users with status "active/pending/login denied" and "last login date" > "days of inactivity" config
          • set users to status inactive
          • send mail
        • search for user with status "inactive" and "inactivation date" > "days of status inactive" config
          • delete users
          • send mail
      • Change manual "Delete user" process
        • tab "Inactive users" -> "Users with no activity"
        • tab "E-mail sent" -> "Deactivated users"

       

      (See Spec attached - german only)

       


      fx internal

      https://office.bexio.com/index.php/pr_project/showPackage/packageId/125

       

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            mmenzel Mandy Menzel
            Tester:
            Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: