mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-31 13:52:48 +00:00
Backport https://github.com/go-gitea/gitea/pull/39960 Locking a pull request stops users without write access from commenting, but the review paths never checked the lock, so any signed-in user could still post reviews, code comments and replies on a locked pull request. The cherry-pick conflicted on the `repo-diff.ts` imports, because `release/v28` has no `DiffFileTreeLocale`. Co-authored-by: Basavaraj S m <basavaraj@digiscrypt.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>