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

KNOX-3017 - Avoid showing lifetime adjustment popup when TTL is set to -1 #877

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

smolnar82
Copy link
Contributor

What changes were proposed in this pull request?

Two changes on the Token Generation UI:

  • if the homepage topology is configured with Unlimited token lifetime, the lifetime adjustment popup will not shown. The logic was there before, this was a casting issue between strings and numbers in the JS code.
  • added an exclamation icon to better emphasize the Unlimited lifetime setting on the UI.

How was this patch tested?

Manually tested and confirmed that the popup is no longer displayed when creating a 1-year token with Unlimited lifetime settings. The new exclamation mark is shown as expected (tested with and without the -1 TTL).

Screenshot 2024-03-11 at 14 13 13

@smolnar82 smolnar82 merged commit 0ec2ea8 into apache:master Mar 12, 2024
2 checks passed
@smolnar82 smolnar82 deleted the KNOX-3017 branch March 12, 2024 09:20
Copy link
Contributor

@moresandeep moresandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants