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 <[email protected]> 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 = () => {
