[ 
https://issues.apache.org/jira/browse/RANGER-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18154469#comment-18154469
 ] 

Dineshkumar Yadav commented on RANGER-5756:
-------------------------------------------

Ranger master: 
https://github.com/apache/ranger/commit/79c7e42a19178f131e84fbd47787c0a558d86761

Ranger-2.10 
:https://github.com/apache/ranger/commit/55a3ac38eb5c742250e1f4a24e6f4e9619b21df8

> Make J10056 skip automatic reactivation of disabled external users
> ------------------------------------------------------------------
>
>                 Key: RANGER-5756
>                 URL: https://issues.apache.org/jira/browse/RANGER-5756
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 2.9.0
>            Reporter: Pradeep Agrawal
>            Assignee: Pradeep Agrawal
>            Priority: Major
>             Fix For: 2.10
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> *Problem*
> During upgrade, PatchForExternalUserStatusUpdate_J10056 reactivates every 
> portal user with user_src=USER_EXTERNAL and status=ACT_STATUS_DISABLED.
>  
> Disabled is a supported user state in Ranger Admin (modifyUserActiveStatus). 
> The patch does not have enough information to decide which disabled external 
> accounts should be changed during upgrade.
>  
> *Proposed change*
> Update J10056 so it no longer bulk-updates user status. For matching rows, 
> log the count and affected login IDs and leave records unchanged. Operators 
> can re-enable specific accounts through Ranger Admin when needed.
>  
> *Scope*
> - PatchForExternalUserStatusUpdate_J10056.java
> - TestPatchForExternalUserStatusUpdate_J10056.java
>  
> *Testing*
> - Unit tests updated to verify disabled external users are not modified



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to