mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-04 19:27:31 +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.go | ||
models_sqlite.go | ||
oauth2.go | ||
publickey.go | ||
release.go | ||
repo.go | ||
update.go | ||
user.go | ||
webhook.go |