mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-12 22:10:25 +00:00
[v15.0/forgejo] fix(activitypub): only return public activities on request (#12533)
Manual backport of #12382 The endpoint returning individual activities was missing access control checks, since IDs are sequential, this is not ideal. Fixes #12333 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12533 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
parent
97a0ab9833
commit
4e40eede03
10 changed files with 156 additions and 16 deletions
|
|
@ -81,4 +81,4 @@
|
|||
act_user_id: 40
|
||||
repo_id: 60 # public
|
||||
is_private: false
|
||||
created_unix: 1577404800 # end of heatmap
|
||||
created_unix: 1577404800 # end of heatmap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue