Flagged post difficult to restore (reason given)

Priority/Severity: medium

Platform: Discourse 3.6.0.beta3-latest

Description: Flagged post (creator of thread) cannot unflag.
During the flag investigation, I immediately pushed the user to 0 and locked it.
After he was cleared, we could not restore the post.
This is because the user was trust 0 and cannot create posts.
An error would occur to unflag the post (which created a thread topic) because user zero cannot create a thread.
Solution: I unlocked the user and put him back to trust 1. Then I was able to restore his post.

Reproducible steps:
Steps should be clear.

Suggested Fix

Give the admin user some feedback what to do rather than “error”
Perhaps ask the admin if he wants to unlock and move the user back to (whatever he was before). in this case trust 1.
It looks like a bug, but i understood why it happened and fixed it.

I know I’m not on the latest build.. but I’m not far from latest build.
I doubt this was fixed in the 2 month gap of builds that I’m behind.
We love your product.. We appreciate your work.

לייק 1

I did upgrade just now.. but this was a situational bug and cannot be reproduced, except on a test admin server. We were not so far out of date though.