aboutsummaryrefslogtreecommitdiff
path: root/models/repo.go
diff options
context:
space:
mode:
authorPeter Smit <peter@smitmail.eu>2015-02-16 13:16:24 +0200
committerPeter Smit <peter@smitmail.eu>2015-02-16 13:16:24 +0200
commit455fad0fbd85137af5d3efec93d2b974e9383b98 (patch)
treeb52292aac1c78d00cd3fc0d8f3b35146fd036b0f /models/repo.go
parentcd6a2b78a752605d808c6392ce78b92d4759fede (diff)
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
Diffstat (limited to 'models/repo.go')
0 files changed, 0 insertions, 0 deletions