d7b311ce55
The client ACL cache was not accounting for tokens which included ACL role links. This change modifies the behaviour to resolve role links to policies. It will also now store ACL roles within the cache for quick lookup. The cache TTL is configurable in the same manner as policies or tokens. Another small fix is included that takes into account the ACL token expiry time. This was not included, which meant tokens with expiry could be used past the expiry time, until they were GC'd. |
||
---|---|---|
.. | ||
sample1 | ||
basic.hcl | ||
basic.json | ||
config-slices-alt.json | ||
config-slices.hcl | ||
config-slices.json | ||
non-optional.hcl | ||
non-optional.json | ||
obj-len-one-server.json | ||
obj-len-one.hcl | ||
obj-len-one.json | ||
plugin.hcl | ||
plugin.json | ||
sample0.json |