1
0
Fork 0
forked from forgejo/forgejo

Finish Teams page

This commit is contained in:
Unknown 2014-06-29 16:30:41 -04:00
parent 99713e1180
commit e4ea5cf598
11 changed files with 247 additions and 518 deletions

View file

@ -90,7 +90,7 @@ func CreatePost(ctx *middleware.Context, form auth.CreateRepoForm) {
}
// Check ownership of organization.
if !models.IsOrganizationOwner(u.Id, ctx.User.Id) {
if !u.IsOrgOwner(ctx.User.Id) {
ctx.Error(403)
return
}