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

Various auth plugin locks fail on custom profile fields

    XMLWordPrintable

Details

    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • wip-MDL-51834-master
    • Hide

      Fields can still be protected by hiding them in the interface for managing custom profile fields.

      Show
      Fields can still be protected by hiding them in the interface for managing custom profile fields.
    • Hide
      1. Setup 4 custom profile fields, 2 locked, 2 not.
      2. Setup moodle to use authentication with external DB (or LDAP, maybe others).
      3. Setup auth module to take profile fields from external DB source.
      4. Setup auth module to block editing of two fields (one that was locked by custom profile fields, and one that was not)
      5. Fields locked by either external db auth or by the custom profile field setup should be read-only for a user who tries to edit their profile. But the other should be editible
      Show
      Setup 4 custom profile fields, 2 locked, 2 not. Setup moodle to use authentication with external DB (or LDAP, maybe others). Setup auth module to take profile fields from external DB source. Setup auth module to block editing of two fields (one that was locked by custom profile fields, and one that was not) Fields locked by either external db auth or by the custom profile field setup should be read-only for a user who tries to edit their profile. But the other should be editible

    Description

      1. Setup some custom profile fields, leaving the fields visible and taking available defaults.
      2. Setup moodle to use authentication with external DB (or LDAP, maybe others).
      3. Setup auth module to take profile fields from external DB source.
      4. Setup auth module to block editing of the fields.

      EXPECTED: The fields should be read-only for a user who tries to edit her profile.
      ACTUAL: A user can still edit the fields.

      Discovered while testing MDLQA-8717.

      Attachments

        Issue Links

          Activity

            People

              kwiliarty Kevin Wiliarty
              kwiliarty Kevin Wiliarty
              John Okely John Okely
              Dan Poltawski Dan Poltawski
              Simey Lameze Simey Lameze
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/15