From 3e876ab09e4d698fd0c3df22bf5f45d26f20d5b5 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 7 Feb 2021 20:33:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=B3=BB=E7=BB=9F=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=AD=E7=BB=84=E4=BB=B6=E4=B8=AD=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=BE=A4=E7=BB=84=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/o2_core/o2/xDesktop/Default.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/o2web/source/o2_core/o2/xDesktop/Default.js b/o2web/source/o2_core/o2/xDesktop/Default.js index d38ee3c849..528b7ff1b8 100644 --- a/o2web/source/o2_core/o2/xDesktop/Default.js +++ b/o2web/source/o2_core/o2/xDesktop/Default.js @@ -1208,7 +1208,12 @@ o2.xDesktop.Default.StartMenu = new Class({ if (user.roleList) currentNames = currentNames.concat(user.roleList); // if (user.groupList) currentNames = currentNames.concat(user.groupList); o2.Actions.load("x_organization_assemble_express").GroupAction.listWithPerson( - { personList: [user.distinguishedName] }, + { + personList: [user.distinguishedName], + recursiveGroupFlag : true, + referenceFlag : true, + recursiveOrgFlag : true + }, function(json) { currentNames = currentNames.concat(json.data.groupList); if( callback )callback( currentNames ) -- GitLab