mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 19:30:39 -03:30
Merge pull request #377 from mabashian/insights-cred-disable
Disable insights cred when user doesn't have edit permissions
This commit is contained in:
commit
381a27957a
@ -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