A bug was reported where custom flag text from regular users does not appear in the moderator inbox, while it works for moderators. Chris_S first noted the issue on a site running Discourse 1.9.0.beta16, and schyllberg confirmed it affects their site, community.infinite-flight.com. jomaxro reproduced the issue with a non-staff user flagging a post. The problem was traced to a security fix that restricted regular users from attaching notes to flags, as it involved inviting groups to view them. eviltrout identified the root cause and assigned it to tgxworld, who fixed it in a commit. The fix was deployed to the site, but initial testing revealed a 422 error due to a missing periodic job. After running the job, schyllberg confirmed the issue was resolved.
Received flag does not show user entered text reason. This makes it difficult to moderate posts as moderators have to Pm the user to see why the flag was submitted.
Steps to Reproduce:
User flags a post.
Flag is sent to moderators/staff.
Expected Results:
Flag is shown with user entered custom text
Actual Results:
Flag is shown as custom but no reason is displayed even though the user entered one.
Konnte es heute Abend testen. Ich konnte keine fehlende Nachricht durch eine benutzerdefinierte Kennzeichnung eines Beitrags oder Themas reproduzieren. Ich habe dies am Freitag gesehen (siehe unten), aber damals nicht dazu gekommen, es zu testen.
Edit: Oh! Ich sehe, dass es ein Nicht-Mitarbeiter-Nutzer sein muss, der kennzeichnet. Lass mich das erneut testen.
Edit 2: OK, ich kann dies reproduzieren, wenn ein Nicht-Mitarbeiter-Nutzer (TL1) einen Beitrag kennzeichnet. Dies als Contribute > Bug umkategorisieren.
This is being caused by this security fix. When attaching a note to a flag it invites groups to view it, and as a regular user you can no longer do this. Re-assigning this to @tgxworld since it’s related to a security fix that I don’t want to break.