1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-26 09:09:36 -05:00
forgejo/routers/user
Peter Smit 455fad0fbd Fix that owners also see actions on their repositories
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user.

It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to action
2015-02-16 13:16:24 +02:00
..
auth.go Merge pull request #755 from phsmit/multiple_emails 2014-12-20 22:47:05 -05:00
home.go Fix that owners also see actions on their repositories 2015-02-16 13:16:24 +02:00
setting.go Implement #798 Flexible ssh-key input 2015-01-02 15:38:11 +02:00
social.go safe check 2014-11-28 21:54:49 -05:00