mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
Fix a bug where we would treat the new model value like the old one when comparing activity stream changes
This commit is contained in:
@@ -746,7 +746,7 @@ class PermissionSerializer(BaseSerializer):
|
||||
model = Permission
|
||||
fields = BASE_FIELDS + ('user', 'team', 'project', 'inventory',
|
||||
'permission_type',)
|
||||
|
||||
|
||||
def get_related(self, obj):
|
||||
if obj is None:
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user