mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
added unattach user_capabilities to granted permissions list
This commit is contained in:
parent
ab3588fd93
commit
297be96b80
@ -142,7 +142,8 @@ export default
|
||||
'class': "List-actionButton--delete",
|
||||
iconClass: 'fa fa-times',
|
||||
awToolTip: 'Dissasociate permission from team',
|
||||
dataPlacement: 'top'
|
||||
dataPlacement: 'top',
|
||||
ngShow: 'permission.summary_fields.user_capabilities.unattach'
|
||||
}
|
||||
},
|
||||
hideOnSuperuser: true
|
||||
|
||||
@ -201,7 +201,7 @@ export default
|
||||
ngClick: 'deletePermissionFromUser(user_id, username, permission.name, permission.summary_fields.resource_name, permission.related.users)',
|
||||
iconClass: 'fa fa-times',
|
||||
awToolTip: 'Dissasociate permission from user',
|
||||
ngShow: 'canEdit'
|
||||
ngShow: 'permission.summary_fields.user_capabilities.unattach'
|
||||
}
|
||||
},
|
||||
hideOnSuperuser: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user