Author: hoang_to
Date: 2010-04-27 06:49:57 -0400 (Tue, 27 Apr 2010)
New Revision: 2821
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl
Log:
GTNPORTAL-1025: Don't show Edit Inline item when user have no right to add new page
node
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl
===================================================================
---
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl 2010-04-27
10:12:17 UTC (rev 2820)
+++
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl 2010-04-27
10:49:57 UTC (rev 2821)
@@ -22,8 +22,7 @@
boolean userCouldEditNavigation = uicomponent.hasEditPermissionOnNavigation();
boolean userCouldEditPage = uicomponent.hasEditPermissionOnPage();
- //boolean userCouldEditPortal = uicomponent.hasEditPermissionOnPortal();
- boolean userCouldEditPortal = userCouldEditNavigation;
+ boolean userCouldEditPortal = uicomponent.hasEditPermissionOnPortal();
PageNavigation selectedNav = uicomponent.getSelectedNavigation();
if (selectedNav != null) {