mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Fixes bug where admin/member roles weren't showing up when adding user to org
This commit is contained in:
parent
42562e86e4
commit
ae7361f82d
@ -25,7 +25,7 @@ export default ['$rootScope', '$scope', 'GetBasePath', 'Rest', '$q', 'Wait', 'Pr
|
||||
// the object permissions are being added to
|
||||
scope.object = scope.resourceData.data;
|
||||
// array for all possible roles for the object
|
||||
scope.roles = scope.object.summary_fields.object_roles;
|
||||
scope.roles = angular.copy(scope.object.summary_fields.object_roles);
|
||||
|
||||
const objectType = _.get(scope, ['object', 'type']);
|
||||
const teamRoles = _.get(scope, ['object', 'summary_fields', 'object_roles'], {});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user