Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix to allow comment poster to edit or delete his own comments (go-gi…
…tea#11671) * bug: fix comment update permision check No the ui only allow poster to update or delet comment, which is not reasonable and different with handle logic, this pr change it to allow poster of comment do it ref code: https://github.com/go-gitea/gitea/blob/e8955173a9be1acaa9a3755c37b6059422acda20/routers/repo/issue.go#L1636 https://github.com/go-gitea/gitea/blob/e8955173a9be1acaa9a3755c37b6059422acda20/routers/repo/issue.go#L1681 fix go-gitea#11663 Signed-off-by: a1012112796 <[email protected]> * simplify code * fix sign in Co-authored-by: zeripath <[email protected]> Co-authored-by: Lauris BH <[email protected]>
- Loading branch information