[ 
https://issues.apache.org/jira/browse/KNOX-2968?focusedWorklogId=885812&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-885812
 ]

ASF GitHub Bot logged work on KNOX-2968:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Oct/23 08:02
            Start Date: 18/Oct/23 08:02
    Worklog Time Spent: 10m 
      Work Description: smolnar82 opened a new pull request, #804:
URL: https://github.com/apache/knox/pull/804

   ## What changes were proposed in this pull request?
   
   Fixed a minor bug that prevented an otherwise enabled KnoxSSO Cookie's 
`enabled flag` set to true in a batch operation.
   
   ## How was this patch tested?
   
   Manually tested:
   
   <img width="1767" alt="Screenshot 2023-10-18 at 9 58 31" 
src="https://github.com/apache/knox/assets/34065904/5e6bc9bf-3d8d-4779-9b11-1f170e060579";>
   <img width="1790" alt="Screenshot 2023-10-18 at 9 58 59" 
src="https://github.com/apache/knox/assets/34065904/b94b733c-071f-4320-b7ee-930c789dc98f";>
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 885812)
    Remaining Estimate: 0h
            Time Spent: 10m

> When multiple enabled tokens selected including a SSO token and perform 
> "enable token" operation fails with invalid error mess
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KNOX-2968
>                 URL: https://issues.apache.org/jira/browse/KNOX-2968
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: TokenManagementUI
>    Affects Versions: 2.1.0
>            Reporter: J.Andreina
>            Assignee: Sandor Molnar
>            Priority: Minor
>         Attachments: image-2023-10-18-12-40-18-857.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> +*{color:#de350b}PROBLEM STATEMENT:{color}*+
> When multiple enabled tokens selected including a SSO token and perform 
> "enable token" operation fails with invalid error mess
> +*BUILDS:*+
> knox 2.1
> feature reference doc : 
> https://knox.apache.org/books/knox-2-1-0/user-guide.html#Token+Management
>  
> +*STEPS TO REPRODUCE:*+
> - Deploy ycloud cluster with above gbn. 
> - Create tokens from token gen page
> - Logged into token management page using multiple users so that we will have 
> knox sso token 
> - Select multiple jwt token and an knox sso token 
> - Click on "Enable Selected Tokens" button
> +*CURRENT BEHAVIOUR:*+
> Fails with improper error mess saying "Disabled KnoxSSO Cookies cannot not be 
> enabled" while the SSO token is still enabled .
>  !image-2023-10-18-12-40-18-857.png! 
> +*EXPECTED BEHAVIOUR:*+
> - During batch selection if any active knox sso token is selected and 
> performed "Enable Selected Tokens" , then the batch operation should succeed
> +*OCCURRENCE:*+
> Reproducible



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to