You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got rejected and an error message User Scott does not have allowed access to repository my/test-repo's code while doing git push. It worked before.
A quick search gives me the clue but I don't quite understand what it's about.
if !repo.CheckUnitUser(authUser.ID, authUser.IsAdmin, unitType) {
ctx.HandleText(http.StatusForbidden, fmt.Sprintf("User %s does not have allowed access to repository %s 's code",
authUser.Name, repo.RepoPath()))
return
}
```
...
The text was updated successfully, but these errors were encountered:
@lunny I see. But the write permission has been enabled for the user in the 'Collaboration' settings and it worked before the recent update. What other settings should I check first or probably can diagnose?
Gitea version (or commit ref):
Gitea Version: 1.1.0+292-g113b3e9
Git version:
2.7.4
Operating system:
Ubuntu 16.04 64bit
Database (use
[x]
):Can you reproduce the bug at https://try.gitea.io:
Log gist:
Description
Got rejected and an error message
User Scott does not have allowed access to repository my/test-repo's code
while doinggit push
. It worked before.A quick search gives me the clue but I don't quite understand what it's about.
The text was updated successfully, but these errors were encountered: