krishnamuttevi commented on code in PR #992:
URL: https://github.com/apache/ranger/pull/992#discussion_r3346310016
##########
security-admin/src/main/java/org/apache/ranger/biz/XUserMgr.java:
##########
@@ -1653,6 +1653,31 @@ public VXGroupUser updateXGroupUser(VXGroupUser
vXGroupUser) {
xaBizUtil.blockAuditorRoleUser();
+ XXGroupUser xxGroupUser = null;
+
+ if (vXGroupUser.getId() != null) {
Review Comment:
I've updated the function to include a validation check for invalid inputs.
Could you please take a look at the latest commit
--
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]