mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Merge pull request #172 from jangsutsr/7375_make_isolated_conn_keys_readonly
Make isolated connection keys read-only
This commit is contained in:
@@ -211,6 +211,7 @@ register(
|
|||||||
default='',
|
default='',
|
||||||
allow_blank=True,
|
allow_blank=True,
|
||||||
encrypted=True,
|
encrypted=True,
|
||||||
|
read_only=True,
|
||||||
label=_('The RSA private key for SSH traffic to isolated instances'),
|
label=_('The RSA private key for SSH traffic to isolated instances'),
|
||||||
help_text=_('The RSA private key for SSH traffic to isolated instances'), # noqa
|
help_text=_('The RSA private key for SSH traffic to isolated instances'), # noqa
|
||||||
category=_('Jobs'),
|
category=_('Jobs'),
|
||||||
@@ -222,6 +223,7 @@ register(
|
|||||||
field_class=fields.CharField,
|
field_class=fields.CharField,
|
||||||
default='',
|
default='',
|
||||||
allow_blank=True,
|
allow_blank=True,
|
||||||
|
read_only=True,
|
||||||
label=_('The RSA public key for SSH traffic to isolated instances'),
|
label=_('The RSA public key for SSH traffic to isolated instances'),
|
||||||
help_text=_('The RSA public key for SSH traffic to isolated instances'), # noqa
|
help_text=_('The RSA public key for SSH traffic to isolated instances'), # noqa
|
||||||
category=_('Jobs'),
|
category=_('Jobs'),
|
||||||
|
|||||||
Reference in New Issue
Block a user