Author: hoang_to
Date: 2010-01-14 05:32:08 -0500 (Thu, 14 Jan 2010)
New Revision: 1283
Modified:
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl
Log:
GTNPORTAL-466: Update edit permission check
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-01-14
09:38:53 UTC (rev 1282)
+++
portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIAdminToolbarPortlet.gtmpl 2010-01-14
10:32:08 UTC (rev 1283)
@@ -22,7 +22,8 @@
boolean userCouldEditNavigation = uicomponent.hasEditPermissionOnNavigation();
boolean userCouldEditPage = uicomponent.hasEditPermissionOnPage();
- boolean userCouldEditPortal = uicomponent.hasEditPermissionOnPortal();
+ //boolean userCouldEditPortal = uicomponent.hasEditPermissionOnPortal();
+ boolean userCouldEditPortal = userCouldEditNavigation;
PageNavigation selectedNav = uicomponent.getSelectedNavigation();
if (selectedNav != null) {