1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00
This commit is contained in:
Unknwon
2015-11-22 01:32:09 -05:00
parent b80e848d02
commit 52c8f69163
84 changed files with 746 additions and 12755 deletions

View File

@@ -50,7 +50,7 @@ func MembersAction(ctx *middleware.Context) {
}
err = models.ChangeOrgUserStatus(org.Id, uid, false)
case "public":
if ctx.User.Id != uid {
if ctx.User.Id != uid && !ctx.Org.IsOwner {
ctx.Error(404)
return
}