mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-24 11:02:42 +00:00
Fix #21324
In the current logic, if the `Actor` user is not an admin user, all
activities from private organizations won't be shown even if the `Actor`
user is a member of the organization.
As mentioned in the issue, when using deploy key to make a commit and
push, the activity's `act_user_id` will be the id of the organization so
the activity won't be shown to non-admin users because the visibility of
the organization is private.
|
||
|---|---|---|
| .. | ||
| action.go | ||
| action_list.go | ||
| action_test.go | ||
| main_test.go | ||
| notification.go | ||
| notification_test.go | ||
| repo_activity.go | ||
| statistic.go | ||
| user_heatmap.go | ||
| user_heatmap_test.go | ||