mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 16:44:25 +00:00
a13a6b14ec
`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 |