mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 22:20:35 +00:00
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:
parent
b00f7c3c54
commit
5ccb626cda
|
@ -341,6 +341,7 @@ func CreateOrganization(org *Organization, owner *user_model.User) (err error) {
|
|||
OrgID: org.ID,
|
||||
TeamID: t.ID,
|
||||
Type: tp,
|
||||
AccessMode: perm.AccessModeOwner,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue