mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 12:38:21 -05:00
This bug happens when a user is attempting to update topic metadata while viewing a post. When updating the topic's tags, `editPost()` calls both `Topic.update()` and `post.save()`. The topic saves fine, but the `post.save()` is unnecessary since content didn't change and can fail with permission errors in certain contexts (e.g. viewing a translated topic). Meta topic: https://meta.discourse.org/t/editing-title-category-tags-brings-up-full-editor-saving-says-you-are-not-permitted-to-view-the-requested-resource/391459