You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by dh...@apache.org on 2026/10/21 12:29:28 UTC

(ranger) branch RANGER-5853-2.10 created (now b8e2f6e1f)

This is an automated email from the ASF dual-hosted git repository.

dhavaljrajpara pushed a change to branch RANGER-5853-2.10
in repository https://gitbox.apache.org/repos/asf/ranger.git


      at b8e2f6e1f RANGER-5853 : Admin unable to assign groups during user creation.

This branch includes the following new commits:

     new b8e2f6e1f RANGER-5853 : Admin unable to assign groups during user creation.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(ranger) 01/01: RANGER-5853 : Admin unable to assign groups during user creation.

Posted by dh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dhavaljrajpara pushed a commit to branch RANGER-5853-2.10
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit b8e2f6e1fcac39b9d2524daec9e433507004d97f
Author: Dhaval Rajpara <dh...@apache.org>
AuthorDate: Wed Oct 21 17:58:54 2026 +0530

    RANGER-5853 : Admin unable to assign groups during user creation.
---
 .../src/views/UserGroupRoleListing/users_details/UserForm.jsx    | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/security-admin/src/main/webapp/react-webapp/src/views/UserGroupRoleListing/users_details/UserForm.jsx b/security-admin/src/main/webapp/react-webapp/src/views/UserGroupRoleListing/users_details/UserForm.jsx
index fbeaaceb0..68de67e09 100644
--- a/security-admin/src/main/webapp/react-webapp/src/views/UserGroupRoleListing/users_details/UserForm.jsx
+++ b/security-admin/src/main/webapp/react-webapp/src/views/UserGroupRoleListing/users_details/UserForm.jsx
@@ -35,7 +35,12 @@ import {
   UserTypes
 } from "Utils/XAEnums";
 import { toast } from "react-toastify";
-import { InfoIcon, getUserAccessRoleList, isSystemAdmin, serverError } from "Utils/XAUtils";
+import {
+  InfoIcon,
+  getUserAccessRoleList,
+  isSystemAdmin,
+  serverError
+} from "Utils/XAUtils";
 import { getUserProfile, setUserProfile } from "Utils/appState";
 import { cloneDeep, has, isEmpty, isUndefined } from "lodash";
 import { SyncSourceDetails } from "Views/UserGroupRoleListing/SyncSourceDetails";
@@ -278,7 +283,7 @@ function UserForm(props) {
   };
 
   const disabledGroupField = () => {
-    return !(isSystemAdmin() && isEditView && isInternalUser)
+    return isEditView ? !(isSystemAdmin() && isInternalUser) : false;
   };
 
   const userRoleListData = () => {