mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
fix bug with custom script user_capabilities
This commit is contained in:
@@ -1885,7 +1885,7 @@ class CustomInventoryScriptSerializer(BaseSerializer):
|
||||
script = serializers.CharField(trim_whitespace=False)
|
||||
show_capabilities = ['edit', 'delete', 'copy']
|
||||
capabilities_prefetch = [
|
||||
{'edit': 'organization.admin'}
|
||||
{'edit': 'admin'}
|
||||
]
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user