mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 14:25:02 +02:00
Only show activities for repositories on dashboard, that the user has access to
This commit is contained in:
1 parent
90e9e3c89d
commit
45db167f7a
3 files changed
+24
-7
No files matched your search
@@ -86,7 +86,7 @@ func Profile(ctx *middleware.Context) {
|
||||
ctx.Data["TabName"] = tab
|
||||
switch tab {
|
||||
case "activity":
|
||||
retrieveFeeds(ctx, u.Id, 0, true)
|
||||
retrieveFeeds(ctx, -1, u.Id, 0, true)
|
||||
if ctx.Written() {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user