# Unhide button on first post does nothing after flag + edit sequence

**URL:** https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551
**Category:** Support
**Created:** [December 5, 2025, 11:49pm UTC](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551 "2025-12-05T23:49:23Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [December 6, 2025, 12:26pm UTC](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551/3 "2025-12-06T12:26:22Z")

</div>

@copymonopoly Is this bug report related to the question here? Were you able to find the cause?

> [@Embedded media post allowed groups conflicts with post moderation workflow: unhide! fails with ActiveRecord::RecordInvalid](https://meta.discourse.org/t/embedded-media-post-allowed-groups-conflicts-with-post-moderation-workflow-unhide-fails-with-activerecord-recordinvalid/390575):
>
> There is a conflict between “Embedded media post allowed groups” and the post unhide workflow. If a post is created by a user who is not in the allowed media groups and later gets hidden (via flags), when a moderator edits the hidden post and adds media, attempting to unhide the post will fail with: ActiveRecord::RecordInvalid Validation failed: Sorry, you can't embed media items in a post. The unhide process re-runs media validation using the original author’s permissions, not the moderator’…

---

_[View the full topic](https://meta.discourse.org/t/unhide-button-on-first-post-does-nothing-after-flag-edit-sequence/390551)._
