mirror of
https://github.com/ansible/awx.git
synced 2026-02-14 17:50:02 -03:30
address a few follow-up issues for Org -> Galaxy Credentials support
- add support for managing galaxy creds in the tower organization module - fix a minor serializer bug
This commit is contained in:
@@ -2695,6 +2695,7 @@ class CredentialSerializerCreate(CredentialSerializer):
|
||||
attrs['organization'] = attrs['team'].organization
|
||||
|
||||
if (
|
||||
'credential_type' in attrs and
|
||||
attrs['credential_type'].kind == 'galaxy' and
|
||||
list(owner_fields) != ['organization']
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user