mirror of https://github.com/status-im/consul.git
Fix a bug with ACL enforcement of reads on namespaced config entries. (#7239)
This commit is contained in:
parent
9a220f3010
commit
444517080b
|
@ -88,6 +88,8 @@ func (c *ConfigEntry) Get(args *structs.ConfigEntryQuery, reply *structs.ConfigE
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
lookupEntry.GetEnterpriseMeta().Merge(&args.EnterpriseMeta)
|
||||
|
||||
if authz != nil && !lookupEntry.CanRead(authz) {
|
||||
return acl.ErrPermissionDenied
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue