[
https://issues.apache.org/jira/browse/RANGER-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dineshkumar Yadav updated RANGER-5756:
--------------------------------------
Fix Version/s: 3.0.0
> 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: 3.0.0, 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)