You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/05 09:48:00 UTC
[jira] [Work logged] (KNOX-2740) Impersonation-related fields should be displayed only if that's enabled in the topology for the KnoxToken service
[ https://issues.apache.org/jira/browse/KNOX-2740?focusedWorklogId=766541&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-766541 ]
ASF GitHub Bot logged work on KNOX-2740:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/May/22 09:47
Start Date: 05/May/22 09:47
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request, #569:
URL: https://github.com/apache/knox/pull/569
## What changes were proposed in this pull request?
Added a new KnonToken service level configuration to enable/disable token impersonation. It's called `knox.token.impersonation.enabled` and defaults to `true`. Using this boolean config we can show/hide impersonation-related fields in Knox UIs.
## How was this patch tested?
Manual testing:
1. `knox.token.impersonation.enabled=true` or w/o declaring this config
Token Management UI:
<img width="1781" alt="image" src="https://user-images.githubusercontent.com/34065904/166899212-fe849eb3-4c5d-4be6-9d03-f3f16fcb4115.png">
Token Generation UI:
<img width="1748" alt="image" src="https://user-images.githubusercontent.com/34065904/166899141-30c24349-e842-4296-be8e-82371528ce36.png">
2. `knox.token.impersonation.enabled=false`
Token Management UI:
<img width="1784" alt="image" src="https://user-images.githubusercontent.com/34065904/166899409-ea233c7a-2ca0-4cc1-a4d6-129243453246.png">
Token Generation UI:
<img width="1756" alt="image" src="https://user-images.githubusercontent.com/34065904/166899493-fb3cd817-a956-4579-b40a-939bc5dd8be3.png">
Issue Time Tracking
-------------------
Worklog Id: (was: 766541)
Remaining Estimate: 0h
Time Spent: 10m
> Impersonation-related fields should be displayed only if that's enabled in the topology for the KnoxToken service
> ------------------------------------------------------------------------------------------------------------------
>
> Key: KNOX-2740
> URL: https://issues.apache.org/jira/browse/KNOX-2740
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Affects Versions: 2.0.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> With KNOX-2714, the following changes were done on the following Knox UIs:
> * on the Token Generation page, a new input field was introduced to allow end-users to declare the impersonated user
> * on the Token Management page, another table is shown with the impersonated tokens
> There should be a way to show/hide these UI elements.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)