mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #36627 from sjmh/fix/auth_skip_nomatch
Skip rest of loop on failed func match
This commit is contained in:
commit
3079d78332
1 changed files with 1 additions and 0 deletions
|
@ -789,6 +789,7 @@ class CkMinions(object):
|
|||
# so this fn is permitted by all minions
|
||||
if self.match_check(auth_list_entry, fun):
|
||||
return True
|
||||
continue
|
||||
if isinstance(auth_list_entry, dict):
|
||||
if len(auth_list_entry) != 1:
|
||||
log.info('Malformed ACL: {0}'.format(auth_list_entry))
|
||||
|
|
Loading…
Add table
Reference in a new issue