Merge pull request #4452 from mabashian/3293-enable-ssh-unlock-network

Enabled ssh_key_unlock field for network credentials
This commit is contained in:
Michael Abashian 2016-12-15 13:03:12 -05:00 committed by GitHub
commit 8c94d4d40d

View File

@ -263,7 +263,7 @@ export default
"ssh_key_unlock": {
label: i18n._('Private Key Passphrase'),
type: 'sensitive',
ngShow: "kind.value == 'ssh' || kind.value == 'scm'",
ngShow: "kind.value === 'ssh' || kind.value === 'scm' || kind.value === 'net'",
ngDisabled: "keyEntered === false || ssh_key_unlock_ask || !(credential_obj.summary_fields.user_capabilities.edit || canAdd)",
subCheckbox: {
variable: 'ssh_key_unlock_ask',