We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76cdf3b commit 5a991ecCopy full SHA for 5a991ec
routers/private/serv.go
@@ -114,7 +114,7 @@ func ServCommand(ctx *macaron.Context) {
114
})
115
return
116
}
117
- if !owner.IsActive {
+ if !owner.IsOrganization() && !owner.IsActive {
118
ctx.JSON(http.StatusForbidden, map[string]interface{}{
119
"results": results,
120
"type": "ForbiddenError",
routers/repo/http.go
@@ -105,7 +105,7 @@ func HTTP(ctx *context.Context) {
105
ctx.NotFoundOrServerError("GetUserByName", models.IsErrUserNotExist, err)
106
107
108
109
ctx.HandleText(http.StatusForbidden, "Repository cannot be accessed. You cannot push or open issues/pull-requests.")
110
111
0 commit comments