User able to edit title of locked post

I noticed a user was able to edit the title of a post that was locked by an admin. Feels to me that locking should lock all aspects of a post.

2 Likes

Oh, I forgot about this lock function. My bad.

There is another setting that prevents editing, as I recall? Or are you referring to the title of a topic, when the first post is locked?

I’d locked the first post

Maybe @eviltrout can comment as he built this feature, as I recall.

2 Likes

This does seem like a bug to me. It comes from the fact that the logic applies to editing the post, not the topic. Will add to my list.

8 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Sorry this slipped through the cracks. I’ve fixed it here:

https://github.com/discourse/discourse/commit/e8b9f38374749993c70c702a2a70ecb4e801e310

8 Likes