mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 03:30:02 -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:
@@ -357,6 +357,9 @@ function($injector, $stateExtender, $log, i18n) {
|
|||||||
$stateParams[`${list.iterator}_search`].or__organization__in = orgIds.join();
|
$stateParams[`${list.iterator}_search`].or__organization__in = orgIds.join();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$stateParams[`${list.iterator}_search`].organization = 'null';
|
||||||
|
}
|
||||||
|
|
||||||
return qs.search(path, $stateParams[`${list.iterator}_search`]);
|
return qs.search(path, $stateParams[`${list.iterator}_search`]);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user