mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
Filter credentials to only credentials not associated with an organization when adding permissions for a user not associated with an organization.
This commit is contained in:
parent
6915e95f58
commit
116a47fc6a
@ -357,6 +357,9 @@ function($injector, $stateExtender, $log, i18n) {
|
||||
$stateParams[`${list.iterator}_search`].or__organization__in = orgIds.join();
|
||||
|
||||
}
|
||||
else {
|
||||
$stateParams[`${list.iterator}_search`].organization = 'null';
|
||||
}
|
||||
|
||||
return qs.search(path, $stateParams[`${list.iterator}_search`]);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user