Suspensions and Blocks do not give enough details in logs

Summary:

Exporting the staff logs and looking at suspensions and blocks does not show who the suspension/block was applied to. Automatic unsuspensions are not logged.

Steps to reproduce:

  1. Suspend, block, un-suspend, or un-block at least one user.
  2. Visit /admin/logs/staff_action_logs
  3. Click Export

Expected Results:

Logs will show who each action was applied to.

Actual Results:

No user is given for each log entry. Automatic un-suspensions (due to a date being entered when suspended) are not listed.

Notes:

Might be a regression, as @codinghorror made it seem possible back in February:

Attachments:

Logs:

Version:

Discourse 1.5.0.beta10 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 48

1 Like

I have created PR for this issue.
https://github.com/discourse/discourse/pull/4186

4 Likes

Sure I am open to improving this @techapj can you review?

1 Like

Looks good to me! Thanks @shakti :thumbsup:

2 Likes