mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 12:20:45 -03:30
Merge pull request #2898 from mabashian/2851-perms
Fixes bug where admin/member roles weren't showing up when adding user to org Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
2758a38485
@ -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