mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
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…
x
Reference in New Issue
Block a user