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

Make user search autocomplete form configurable (enable/disable)

    XMLWordPrintable

    Details

      Description

      The UserSearchController features two ways how to search for users:
      1) using a auto-complete dropdown menu
      2) using a standard form with multiple search fields

      While the auto-complete feature is cool, it can be problematic in terms of data privacy. This is specially the case when all users have the same kind of email address or some user identifier property. In such cases the search acts a bit like a wildcard search and reveals data without actually entering it.

      The solution is to make this auto-completion field configurable (enable/disable) via the olat.properties file.

      TODO:

      • Add new properties to olat.properties (enabled for everybody by default):
        usersearch.autocomplete.users=enabled
        usersearch.autocomplete.authors=enabled
        usersearch.autocomplete.usermanagers=enabled
        usersearch.autocomplete.groupmanagers=enabled
        usersearch.autocomplete.administrators=enabled
      • Inject configuration to UserSearchController
      • Add code to only show autocompleterC when configuration matches

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            gnaegi Florian Gnägi
            Tester:
            Florian Gnägi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 10 minutes
                3h 10m