Author: truong.le
Date: 2009-11-18 03:53:47 -0500 (Wed, 18 Nov 2009)
New Revision: 634
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java
Log:
GTNPORTAL-110: Problem when user has no edit right on page but can edit the page
doesn't check edit permission when editing node's page.
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java 2009-11-18
07:41:24 UTC (rev 633)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/UINavigationNodeSelector.java 2009-11-18
08:53:47 UTC (rev 634)
@@ -460,7 +460,7 @@
if (selectPage != null)
{
UserACL userACL = uiApp.getApplicationComponent(UserACL.class);
- if (!userACL.hasPermission(selectPage))
+ if (!userACL.hasEditPermission(selectPage))
{
uiApp.addMessage(new
ApplicationMessage("UIPageBrowser.msg.UserNotPermission", new String[]{pageId},
1));
return;
Show replies by date