1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00
forgejo/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 fix permission check for creating comment while mail (#22524) 2023-01-28 17:28:55 +08:00
token Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
mail.go Prevent multiple To recipients (#22566) 2023-01-22 08:23:52 -06:00
mail_comment.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mail_issue.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
mail_release.go Prevent multiple To recipients (#22566) 2023-01-22 08:23:52 -06:00
mail_repo.go Prevent multiple To recipients (#22566) 2023-01-22 08:23:52 -06:00
mail_team_invite.go Prevent multiple To recipients (#22566) 2023-01-22 08:23:52 -06:00
mail_test.go Add support for incoming emails (#22056) 2023-01-14 23:57:10 +08:00
mailer.go Prevent multiple To recipients (#22566) 2023-01-22 08:23:52 -06:00
mailer_test.go Prevent multiple To recipients (#22566) 2023-01-22 08:23:52 -06:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00