mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
allow reading of credential org field in list view
This commit is contained in:
@@ -1762,9 +1762,9 @@ class CredentialSerializerCreate(CredentialSerializer):
|
|||||||
'do not give either user or organization. Only valid for creation.'))
|
'do not give either user or organization. Only valid for creation.'))
|
||||||
organization = serializers.PrimaryKeyRelatedField(
|
organization = serializers.PrimaryKeyRelatedField(
|
||||||
queryset=Organization.objects.all(),
|
queryset=Organization.objects.all(),
|
||||||
required=False, default=None, write_only=True, allow_null=True,
|
required=False, default=None, allow_null=True,
|
||||||
help_text=_('Write-only field used to add organization to owner role. If provided, '
|
help_text=_('Inherit permissions from organization roles. If provided on creation, '
|
||||||
'do not give either team or team. Only valid for creation.'))
|
'do not give either user or team.'))
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Credential
|
model = Credential
|
||||||
|
|||||||
Reference in New Issue
Block a user