[ 
https://issues.apache.org/jira/browse/KNOX-2699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandor Molnar updated KNOX-2699:
--------------------------------
    Description: 
*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

  was:
*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 _disabled_ (grayed out)


> 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
>
>
> *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)

Reply via email to