let user choose SSH key owner when migrating to an org

This commit is contained in:
pomidorry
2026-06-07 14:38:26 +03:00
parent 781666b5eb
commit 6ce30aa144
13 changed files with 109 additions and 19 deletions
+3
View File
@@ -17,6 +17,9 @@ type MigrateOptions struct {
AuthPasswordEncrypted string `json:"auth_password_encrypted,omitempty"`
AuthToken string `json:"-"`
AuthTokenEncrypted string `json:"auth_token_encrypted,omitempty"`
// SSHKeyOwnerID overrides the owner whose managed SSH keypair authenticates
// the SSH clone. 0 means use the target repository owner (the default).
SSHKeyOwnerID int64 `json:"ssh_key_owner_id,omitempty"`
// required: true
UID int `json:"uid" binding:"Required"`
// required: true