mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Disable insights cred when user doesn't have edit permissions
This commit is contained in:
parent
00a49482f2
commit
ddb588f7a6
@ -74,7 +74,8 @@ function(i18n, InventoryCompletedJobsList) {
|
||||
sourceField: 'name',
|
||||
search: {
|
||||
credential_type: '13' //insights
|
||||
}
|
||||
},
|
||||
ngDisabled: '!(inventory_obj.summary_fields.user_capabilities.edit || canAdd) || !canEditOrg',
|
||||
},
|
||||
instance_groups: {
|
||||
label: i18n._('Instance Groups'),
|
||||
|
Loading…
Reference in New Issue
Block a user