Skip to content

Commit

Permalink
Expose the user capabilities dict for EEs (#8208)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbradberry committed Oct 6, 2020
1 parent 6a27365 commit 962bfd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions awx/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,8 @@ def validate(self, attrs):


class ExecutionEnvironmentSerializer(BaseSerializer):
show_capabilities = ['edit', 'delete']

class Meta:
model = ExecutionEnvironment
fields = ('*', '-name', 'organization', 'image', 'managed_by_tower', 'credential')
Expand Down

0 comments on commit 962bfd3

Please sign in to comment.