1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

Merge pull request #4822 from jbradberry/team-grant-permissions-visibility

Change the visibility of the Grant Permission button on the team edit page

Reviewed-by: Marliana Lara <marliana.lara@gmail.com>
             https://github.com/marshmalien
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-09-26 20:02:56 +00:00 committed by GitHub
commit 8343552dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)'
}
}
}