mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 05:31:22 -03:30
add "Add Permissions" action to Teams form
This commit is contained in:
parent
81d1524439
commit
f6303d206b
@ -150,7 +150,16 @@ export default
|
||||
ngShow: 'permission.summary_fields.user_capabilities.unattach'
|
||||
}
|
||||
},
|
||||
//hideOnSuperuser: true // defunct with RBAC
|
||||
actions: {
|
||||
add: {
|
||||
ngClick: "$state.go('.add')",
|
||||
label: 'Add',
|
||||
awToolTip: i18n._('Grant Permission'),
|
||||
actionClass: 'btn List-buttonSubmit',
|
||||
buttonContent: '+ ' + i18n._('ADD PERMISSIONS'),
|
||||
ngShow: '(puser_obj.summary_fields.user_capabilities.edit || canAdd)'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
};}]); //InventoryForm
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user