[
https://issues.apache.org/jira/browse/KNOX-2699?focusedWorklogId=703919&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-703919
]
ASF GitHub Bot logged work on KNOX-2699:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Jan/22 13:07
Start Date: 05/Jan/22 13:07
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request #527:
URL: https://github.com/apache/knox/pull/527
## What changes were proposed in this pull request?
Expired tokens cannot be enabled/disabled on the token management page going
forward.
In addition to this, I improved visualization too: token expiration data is
shown in `red` for expired tokens and in `green` for the valid ones.
## How was this patch tested?
Manually tested as described in the JIRA:
<img width="1777" alt="Screenshot 2022-01-05 at 13 56 20"
src="https://user-images.githubusercontent.com/34065904/148222378-d94d25ec-816c-477b-bdd1-9d5681595731.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 703919)
Remaining Estimate: 0h
Time Spent: 10m
> Expired tokens should not be enabled/disabled
> ---------------------------------------------
>
> Key: KNOX-2699
> URL: https://issues.apache.org/jira/browse/KNOX-2699
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Affects Versions: 1.6.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> *Steps to reproduce:
> *
> 1. Set {{gateway.knox.token.eviction.grace.period}} in {{gateway-site.xml}}
> to 3600 (1 hour)
> 2. Fetch a token with 1 minute TTL on the token generation page
> 3. Wait a bit more than 1 minute and go to the token management page (refresh
> if needed)
> *Actual results:*
> the token can be enabled/disabled
> *Expected results:*
> the Enable/Disable button should be hidden
--
This message was sent by Atlassian Jira
(v8.20.1#820001)