Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acl: fix a bug in token creation when parsing expiration TTLs. #15999

Merged
merged 4 commits into from
Feb 1, 2023

Commits on Feb 1, 2023

  1. acl: fix a bug in token creation when parsing expiration TTLs.

    The ACL token decoding was not correctly handling time duration
    syntax such as "1h" which forced people to use the nanosecond
    representation via the HTTP API.
    
    The change adds an unmarshal function which allows this syntax to
    be used, along with other styles correctly.
    jrasell committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    4dbeee4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f60680c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4d37fc8 View commit details
    Browse the repository at this point in the history
  4. Update api/acl.go

    Co-authored-by: Seth Hoenig <shoenig@duck.com>
    jrasell and shoenig committed Feb 1, 2023
    Configuration menu
    Copy the full SHA
    ae4db4b View commit details
    Browse the repository at this point in the history