Fix owner team access mode value in team_unit table (#24224)

Partly backport #23675

Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
yp05327
2023-04-22 08:53:03 +02:00
committed by GitHub
co-authored by Giteabot
parent b00f7c3c54
commit 5ccb626cda
+1
View File
@@ -341,6 +341,7 @@ func CreateOrganization(org *Organization, owner *user_model.User) (err error) {
OrgID: org.ID, OrgID: org.ID,
TeamID: t.ID, TeamID: t.ID,
Type: tp, Type: tp,
AccessMode: perm.AccessModeOwner,
}) })
} }