mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 15:53:36 +01:00
455fad0fbd
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 |
||
---|---|---|
.. | ||
admin | ||
api/v1 | ||
dev | ||
org | ||
repo | ||
user | ||
home.go | ||
install.go |