gitea/services/mailer
a1012112796 48f5d51908
fix permission check for creating comment while mail (#22524)
only creating comment on locked issue request write permission,
for others, read permission is enough.

related to https://github.com/go-gitea/gitea/pull/22056

/cc @KN4CK3R

---------

Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-28 17:28:55 +08:00
..
incoming
token
mail.go
mail_comment.go
mail_issue.go
mail_release.go
mail_repo.go
mail_team_invite.go
mail_test.go
mailer.go
mailer_test.go
main_test.go