mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-25 21:44:20 -04:00
`strings.HasPrefix(access.RepoName, uname)` can't handle the situation which like following in access table. user_name | repo_name ----------+------------- toby | toby/blog toby | toby/test toby | tobyzxj/blog toby | tobyzxj/test |
||
---|---|---|
.. | ||
access.go | ||
action.go | ||
fix.go | ||
git_diff.go | ||
issue.go | ||
login.go | ||
models_sqlite.go | ||
models.go | ||
oauth2.go | ||
publickey.go | ||
release.go | ||
repo.go | ||
update.go | ||
user.go | ||
webhook.go |