mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 10:11:05 -03:30
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:
@@ -170,7 +170,7 @@ export default ['i18n', function(i18n) {
|
|||||||
awToolTip: i18n._('Grant Permission'),
|
awToolTip: i18n._('Grant Permission'),
|
||||||
actionClass: 'at-Button--add',
|
actionClass: 'at-Button--add',
|
||||||
actionId: 'button-add',
|
actionId: 'button-add',
|
||||||
ngShow: '(team_obj.summary_fields.user_capabilities.edit || canAdd)'
|
ngShow: '(team_obj.summary_fields.user_capabilities.edit || canEditOrg)'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user