krishnamuttevi opened a new pull request, #992: URL: https://github.com/apache/ranger/pull/992
When updating a user-group relationship using the PUT /service/xusers/groupusers API, the backend updates successfully and the UI "Users" tab looks fine. However, the "Groups" tab shows old data—it still lists the user under their old group and doesn't show them in the new one. This happens because the "Groups" view isn't getting the right group reference to trigger a proper refresh. Solved it by: Declared XXGroupuser and added validation checks for all mandatory fields to make sure the data is clean. Explicitly added parentGroupId to vxGroupuser so the UI has the correct group context to update both tabs properly. Verified that updating a user-group mapping now correctly updates both the "Users" and "Groups" tabs in the UI without leaving any stale data. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
