mirror of
https://github.com/wahyd4/gogs.git
synced 2026-08-11 13:56:48 +10: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