diff --git a/app/assets/javascripts/discourse/models/post.js b/app/assets/javascripts/discourse/models/post.js index 7cae814f962..a336dfb478c 100644 --- a/app/assets/javascripts/discourse/models/post.js +++ b/app/assets/javascripts/discourse/models/post.js @@ -361,7 +361,9 @@ Discourse.Post = Discourse.Model.extend({ }.property('reply_count'), canViewEditHistory: function() { - return (Discourse.SiteSettings.edit_history_visible_to_public || (Discourse.User.current() && Discourse.User.current().get('staff'))); + return (Discourse.SiteSettings.edit_history_visible_to_public || + (Discourse.User.current() && + (Discourse.User.current().get('staff') || Discourse.User.current().get('id') === this.get('user_id')))); }.property() });