Anupam Rai created RANGER-4171:
----------------------------------
Summary: Updated time is same as created time even user group
membership is updated xusers/users/userName
Key: RANGER-4171
URL: https://issues.apache.org/jira/browse/RANGER-4171
Project: Ranger
Issue Type: Bug
Components: Ranger, usersync
Reporter: Anupam Rai
Updated time is same as created time even user group membership is updated when
queried from 'xusers/users/userName'
Steps to reproduce :
1. Create user through freeIPA or any other source and associate it with group1
wait for user to sync in Ranger
2. Create new group on usersync Active node name as group2
3. Associate create user with created group on usersync Active node.
Verify user on xusers/users/userName
Request :
{code:java}
curl -s -L "https://***/xusers/users/userName/tester1234" -H "Authorization:
Basic aHJ0X3FhOlBhc3N3b3JkQDEyMw==" {code}
response :
{code:java}
{
"id": 209,
"createDate": "2023-04-03T06:40:15Z",
"updateDate": "2023-04-03T06:40:15Z",
"owner": "**",
"updatedBy": "***",
"name": "**",
"password": "*****",
"description": "tester1234 - add from Unix box",
"groupIdList": [
279,
278
],
"groupNameList": [
"testanu",
"tester1234"
],
"status": 1,
"isVisible": 1,
"userSource": 1,
"userRoleList": [
"ROLE_USER"
],
"otherAttributes":
"{\"sync_source\":\"Unix\",\"full_name\":\"tester1234\",\"original_name\":\"tester1234\"}",
"syncSource": "Unix"
} {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)