mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 12:40:06 -03:30
Disable insights cred when user doesn't have edit permissions
This commit is contained in:
@@ -74,7 +74,8 @@ function(i18n, InventoryCompletedJobsList) {
|
|||||||
sourceField: 'name',
|
sourceField: 'name',
|
||||||
search: {
|
search: {
|
||||||
credential_type: '13' //insights
|
credential_type: '13' //insights
|
||||||
}
|
},
|
||||||
|
ngDisabled: '!(inventory_obj.summary_fields.user_capabilities.edit || canAdd) || !canEditOrg',
|
||||||
},
|
},
|
||||||
instance_groups: {
|
instance_groups: {
|
||||||
label: i18n._('Instance Groups'),
|
label: i18n._('Instance Groups'),
|
||||||
|
|||||||
Reference in New Issue
Block a user