mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 18:21:12 +03:00
AC-581 group and inventory fields on inventory source are now readonly.
This commit is contained in:
parent
44a2bd72bd
commit
c585227df8
@ -643,6 +643,7 @@ class InventorySourceSerializer(BaseSerializer):
|
||||
'source_regions', 'source_tags', 'overwrite',
|
||||
'overwrite_vars', 'update_on_launch', 'update_interval',
|
||||
'last_update_failed', 'status', 'last_updated')
|
||||
read_only_fields = ('inventory', 'group')
|
||||
|
||||
def to_native(self, obj):
|
||||
ret = super(InventorySourceSerializer, self).to_native(obj)
|
||||
|
Loading…
Reference in New Issue
Block a user