Deleted users show as System in activity logs #153

Closed
opened 2026-02-04 16:54:07 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Boy132 on GitHub (Sep 3, 2024).

Discussed in https://github.com/pelican-dev/panel/discussions/567

Originally posted by JoanFont1212 August 30, 2024
Someone told me to open here a bug and i didn't see where to click, so i'm using this, i'm sorry.
When a user does something in activity, delete files, etc... And you delete the user, shows the activity as the system's one with the user IP, it's a little bit confusing.
Here is some proof.
image

Due to 3f9c1dbc3c/app/Models/ActivityLog.php (L155-L160)

Originally created by @Boy132 on GitHub (Sep 3, 2024). ### Discussed in https://github.com/pelican-dev/panel/discussions/567 <div type='discussions-op-text'> <sup>Originally posted by **JoanFont1212** August 30, 2024</sup> Someone told me to open here a bug and i didn't see where to click, so i'm using this, i'm sorry. When a user does something in activity, delete files, etc... And you delete the user, shows the activity as the system's one with the user IP, it's a little bit confusing. Here is some proof. ![image](https://github.com/user-attachments/assets/115cf35c-4925-42d3-bd6a-19ce49d8ba6e) </div> Due to https://github.com/pelican-dev/panel/blob/3f9c1dbc3c3438f17ab09aa5b8d8f2362eec8efc/app/Models/ActivityLog.php#L155-L160
OVERLORD added the 🟢 easy label 2026-02-04 16:54:07 +03:00
Author
Owner

@rmartinoscar commented on GitHub (Jan 8, 2025):

image
Still able to reproduce on new Client area

@rmartinoscar commented on GitHub (Jan 8, 2025): ![image](https://github.com/user-attachments/assets/d17052ae-318a-4095-b0c5-76fe47f220af) Still able to reproduce on new Client area
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#153