mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 13:55:31 +03:00
Change the visibility of the Grant Permission button on the team edit page
In the case where MANAGE_ORGANIZATION_AUTH = False, an Org admin is still supposed to have the capability of adding resource roles to a team. This was in fact still doable directly in the API, or via the organization edit page.
This commit is contained in:
parent
640e5391f3
commit
ee27313b42
@ -170,7 +170,7 @@ export default ['i18n', function(i18n) {
|
||||
awToolTip: i18n._('Grant Permission'),
|
||||
actionClass: 'at-Button--add',
|
||||
actionId: 'button-add',
|
||||
ngShow: '(team_obj.summary_fields.user_capabilities.edit || canAdd)'
|
||||
ngShow: '(team_obj.summary_fields.user_capabilities.edit || canEditOrg)'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user