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

User profile: add last ip field to user view

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.4, 2.3.7, 2.4.4, 2.5, 2.6.1
    • Fix Version/s: 2.7
    • Component/s: Administration
    • Testing Instructions:
      Hide
      1. Create two new users (U1 and U2)
      2. Log in with U1
      3. As admin, give the "moodle/user:viewlastip" to U2 in the system context
      4. Log in U2 go to the profile page of U1
      5. See that there is a new "Last IP" field
      6. Log in again with admin, remove the capability from the user U2
      7. Log in with the U2, go to the U1's profile page and see that the "Last IP" field no longer appears
      Show
      Create two new users (U1 and U2) Log in with U1 As admin, give the "moodle/user:viewlastip" to U2 in the system context Log in U2 go to the profile page of U1 See that there is a new "Last IP" field Log in again with admin, remove the capability from the user U2 Log in with the U2, go to the U1's profile page and see that the "Last IP" field no longer appears
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
    • Story Points:
      2

      Description

      Similar to MDL-18518, this request to add the Last IP address could be useful to a site administrator trying to track down where a user last access Moodle from. Patch for 1.9 attach, I'll come up for one for HEAD as well. Peace - Anthony

        Attachments

        1. lastip_head.patch
          2 kB
        2. lastip.patch
          4 kB
        3. lastip.patch
          4 kB
        4. MDL-18633.png
          MDL-18633.png
          113 kB

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/May/14