Fix recursive method call in sudo controller
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
627499537d
commit
636e1f8ab9
@ -107,7 +107,7 @@ class SudoController extends LDAPController {
|
||||
parse_sudo_hosts(filter, target_hosts = []) {
|
||||
if ( Array.isArray(filter?.filters) ) {
|
||||
for ( const sub_filter of filter.filters ) {
|
||||
target_hosts = [...target_hosts, ...this.parse_iam_targets(sub_filter)]
|
||||
target_hosts = [...target_hosts, ...this.parse_sudo_hosts(sub_filter)]
|
||||
}
|
||||
} else if ( filter?.attribute ) {
|
||||
if ( filter.attribute === 'sudohost' ) {
|
||||
|
Loading…
Reference in New Issue
Block a user