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 authored and shanemcd committed Feb 25, 2021
1 parent 42fd651 commit 44c803b
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 @@ -1361,6 +1361,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 44c803b

Please sign in to comment.