mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
rework heatmap permissions (#14080)
* now uses the same permission model as for the activity feed: only include activities in repos, that the doer has access to. this might be somewhat slower. * also improves handling of user.KeepActivityPrivate (still shows the heatmap to self & admins) * extend tests * adjust integration test to new behaviour * add access to actions for admins * extend heatmap unit tests
This commit is contained in:
@@ -23,3 +23,12 @@
|
||||
act_user_id: 11
|
||||
repo_id: 9
|
||||
is_private: false
|
||||
|
||||
-
|
||||
id: 4
|
||||
user_id: 16
|
||||
op_type: 12 # close issue
|
||||
act_user_id: 16
|
||||
repo_id: 22
|
||||
is_private: true
|
||||
created_unix: 1603267920
|
||||
|
Reference in New Issue
Block a user