[
https://issues.apache.org/jira/browse/KNOX-2975?focusedWorklogId=887806&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-887806
]
ASF GitHub Bot logged work on KNOX-2975:
----------------------------------------
Author: ASF GitHub Bot
Created on: 30/Oct/23 09:23
Start Date: 30/Oct/23 09:23
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request, #812:
URL: https://github.com/apache/knox/pull/812
## What changes were proposed in this pull request?
The following Token Management UI improvements were implemented here:
- Enable/Disable Selected Tokens buttons are hidden if the selection
contains at least 1 expired token
- Tips are shown on why certain batch operation buttons are hidden
## How was this patch tested?
Manually tested on my local Token Management UI:
<img width="1781" alt="Screenshot 2023-10-30 at 10 15 16"
src="https://github.com/apache/knox/assets/34065904/701f8070-fa02-49a8-9f0a-a31f9d3d2ffb">
<img width="1783" alt="Screenshot 2023-10-30 at 10 15 31"
src="https://github.com/apache/knox/assets/34065904/b1c319fb-0f4e-41c3-a74c-2a487fba0e0d">
<img width="1786" alt="Screenshot 2023-10-30 at 10 15 48"
src="https://github.com/apache/knox/assets/34065904/57e66fbd-1f10-45ef-9d59-55ae5cf0a043">
<img width="1782" alt="Screenshot 2023-10-30 at 10 16 17"
src="https://github.com/apache/knox/assets/34065904/d2aea62c-3f95-4668-9ac4-eb38c24b4c3c">
<img width="1780" alt="Screenshot 2023-10-30 at 10 16 32"
src="https://github.com/apache/knox/assets/34065904/9b4d29c8-1e63-426f-88bb-b905e7140e6c">
Issue Time Tracking
-------------------
Worklog Id: (was: 887806)
Remaining Estimate: 0h
Time Spent: 10m
> [Usability] When one among selected tokens for batch operation is SSO token ,
> should display text message on why revoke operation is not available for user
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KNOX-2975
> URL: https://issues.apache.org/jira/browse/KNOX-2975
> Project: Apache Knox
> Issue Type: Improvement
> Components: TokenManagementUI
> Affects Versions: 2.1.0
> Reporter: J.Andreina
> Assignee: Sandor Molnar
> Priority: Minor
> Attachments: image-2023-10-26-10-34-37-269.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> +*{color:#de350b}PROBLEM STATEMENT:{color}*+
> [Usability] When SSO token selected along with JWT token should display text
> message to user on why revoke operation is not available
> +*BUILDS:*+
> 2.1.0
>
> +*STEPS TO REPRODUCE:*+
> 1. Update below knox configurations
> knox.global.logout.page.url=https://<logout_url>
> knox.token.exp.server-managed=true
> gateway.knox.token.management.users.can.see.all.tokens = hrt_qa, hrt_1
> 2. browser1 - Login to knox home page as hrt_qa
> 3. disable hrt_qa SSO token
> 4. In loop perform above 2 steps 4 times (15 SSO token will be disabled)
> 5. Generate 5 jwt token from token gen page
> 6. Select multiple jwt token (enable/disable/revoke operation will be
> available for user)
> 7. Select one SS) token ( only enable and disable operation will be available
> for user)
> +*CURRENT BEHAVIOUR:*+
> When one SSO token is selected during batch revoke operation then revoke
> button will not be available for the user
> +*EXPECTED BEHAVIOUR:*+
> Should have text message on UI for user to let know that SSO token is
> selected as part of batch operation and revoke operation is not allowed
> +*OCCURRENCE:*+
> Reproducible
> +*IMPACT:*+
> User will not know why revoke button is not available when one among selected
> tokens have SSO token
> +*LOG ARTIFACTS:*+
> !image-2023-10-26-10-34-37-269.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)