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

Various auth plugin locks fail on custom profile fields

    XMLWordPrintable

    Details

    • Testing Instructions:
      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
    • Workaround:
      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.
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE
    • Pull Master Branch:
      wip-MDL-51834-master

      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

              Assignee:
              kwiliarty Kevin Wiliarty
              Reporter:
              kwiliarty Kevin Wiliarty
              Peer reviewer:
              John Okely
              Integrator:
              Dan Poltawski
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/15