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

User profile: add last ip field to user view

XMLWordPrintable

    • MOODLE_19_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_27_STABLE
    • Easy
    • 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
    • 2

      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

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

            danielneis Daniel Neis Araujo
            aborrow Anthony Borrow
            Rajesh Taneja Rajesh Taneja
            Damyon Wiese Damyon Wiese
            Petr Skoda Petr Skoda
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.