mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Extend perms list instead of appending; fixes non-group auth regression
This commit is contained in:
parent
ca4f45c005
commit
3404dff72b
@ -2223,9 +2223,9 @@ class ClearFuncs(object):
|
||||
auth_list = []
|
||||
|
||||
if '*' in self.opts['external_auth'][token['eauth']]:
|
||||
auth_list.append(self.opts['external_auth'][token['eauth']]['*'])
|
||||
auth_list.extend(self.opts['external_auth'][token['eauth']]['*'])
|
||||
if token['name'] in self.opts['external_auth'][token['eauth']]:
|
||||
auth_list.append(self.opts['external_auth'][token['eauth']][token['name']])
|
||||
auth_list.extend(self.opts['external_auth'][token['eauth']][token['name']])
|
||||
if group_auth_match:
|
||||
auth_list = self.ckminions.fill_auth_list_from_groups(self.opts['external_auth'][token['eauth']], token['groups'], auth_list)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user