mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-28 21:11:17 +00: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.go | ||
| models_sqlite.go | ||
| oauth2.go | ||
| publickey.go | ||
| release.go | ||
| repo.go | ||
| update.go | ||
| user.go | ||
| webhook.go | ||