Author: liem_nguyen
Date: 2010-02-09 03:04:25 -0500 (Tue, 09 Feb 2010)
New Revision: 1578
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIGroupExplorer.java
Log:
GTNPORTAL-429 Still show group which user has no right
Modified:
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIGroupExplorer.java
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIGroupExplorer.java 2010-02-09
06:28:52 UTC (rev 1577)
+++
portal/trunk/portlet/exoadmin/src/main/java/org/exoplatform/organization/webui/component/UIGroupExplorer.java 2010-02-09
08:04:25 UTC (rev 1578)
@@ -123,8 +123,7 @@
sibblingsGroup_ = service.getGroupHandler().findGroups(parentGroup);
// if not administrator
- String username =
org.exoplatform.portal.webui.util.Util.getPortalRequestContext().getRemoteUser();
- if (!GroupManagement.isSuperUserOfGroup(username, groupId))
+ if (!GroupManagement.isAdministrator(null))
{
childrenGroup_ = GroupManagement.getRelatedGroups(null, childrenGroup_);
sibblingsGroup_ = GroupManagement.getRelatedGroups(null, sibblingsGroup_);
Show replies by date