1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

include credential type details in the webhook credential summary field

see: https://github.com/ansible/awx/issues/5882
This commit is contained in:
Ryan Petrello 2020-02-11 10:50:39 -05:00
parent be6b42561f
commit 487343a022
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -132,7 +132,7 @@ SUMMARIZABLE_FK_FIELDS = {
'insights_credential': DEFAULT_SUMMARY_FIELDS,
'source_credential': DEFAULT_SUMMARY_FIELDS + ('kind', 'cloud', 'credential_type_id'),
'target_credential': DEFAULT_SUMMARY_FIELDS + ('kind', 'cloud', 'credential_type_id'),
'webhook_credential': DEFAULT_SUMMARY_FIELDS,
'webhook_credential': DEFAULT_SUMMARY_FIELDS + ('kind', 'cloud', 'credential_type_id'),
'approved_or_denied_by': ('id', 'username', 'first_name', 'last_name'),
'credential_type': DEFAULT_SUMMARY_FIELDS,
}