0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-10 00:20:34 -05:00
forgejo/models/issues
Lunny Xiao f4310d74ee
Fix comment permissions (#28213) (#28216)
backport #28213

This PR will fix some missed checks for private repositories' data on
web routes and API routes.

(cherry picked from commit bc3d8bff73)
2023-11-26 13:56:50 +01:00
..
assignees.go
assignees_test.go
comment.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
comment_code.go More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
comment_list.go Add logs for data broken of comment review (#27326) (#27345) 2023-09-29 13:31:13 +08:00
comment_test.go More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
content_history.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
content_history_test.go Fix comment permissions (#28213) (#28216) 2023-11-26 13:56:50 +01:00
dependency.go
dependency_test.go
issue.go [FEAT] allow setting the update date on issues and comments 2023-11-13 12:33:49 +01:00
issue_index.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
issue_label.go Don't let API add 2 exclusive labels from same scope (#27433) (#27460) 2023-10-06 05:06:31 +08:00
issue_label_test.go Don't let API add 2 exclusive labels from same scope (#27433) (#27460) 2023-10-06 05:06:31 +08:00
issue_list.go
issue_list_test.go
issue_lock.go
issue_project.go
issue_search.go
issue_stats.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
issue_test.go [MODERATION] User blocking 2023-11-13 13:58:02 +01:00
issue_update.go [MODERATION] User blocking 2023-11-13 13:58:02 +01:00
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
issue_xref.go [FEAT] allow setting the update date on issues and comments 2023-11-13 12:33:49 +01:00
issue_xref_test.go
label.go
label_test.go
main_test.go
milestone.go [FEAT] allow setting the update date on issues and comments 2023-11-13 12:33:49 +01:00
milestone_list.go
milestone_test.go
pull.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
pull_list.go
pull_test.go
reaction.go [MODERATION] User blocking 2023-11-13 13:58:02 +01:00
reaction_test.go [MODERATION] User blocking 2023-11-13 13:58:02 +01:00
review.go Fix 500 when deleting a dismissed review (#27903) (#27910) 2023-11-05 13:59:11 +00:00
review_list.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
review_test.go Fix 500 when deleting a dismissed review (#27903) (#27910) 2023-11-05 13:59:11 +00:00
stopwatch.go
stopwatch_test.go
tracked_time.go
tracked_time_test.go