Background
Admins can view the platform-wide activity log but cannot filter it to a single
user. Investigating suspicious behavior requires scrolling through all platform
events. A per-user activity view is needed.
Goal
Add GET /admin/users/:id/activity returning the paginated ActivityLog for a
specific user.
Requirements
-
In AdminService, add:
-
Add the route to AdminController:
Acceptance criteria
- Returns paginated logs for the specific user.
- Empty array for users with no logged activity.
Background
Admins can view the platform-wide activity log but cannot filter it to a single
user. Investigating suspicious behavior requires scrolling through all platform
events. A per-user activity view is needed.
Goal
Add
GET /admin/users/:id/activityreturning the paginatedActivityLogfor aspecific user.
Requirements
In
AdminService, add:Add the route to
AdminController:Acceptance criteria