1 5 package org.exoplatform.services.portal; 6 7 import org.exoplatform.services.portal.model.*; 8 14 public interface PortalACL { 15 final static public String ANY_PERMISSION = "any" ; 16 final static public String OWNER_PERMISSION = "owner" ; 17 final static public String NOONE_PERMISSION = "noone" ; 18 final static public String ADMIN_PERMISSION = "admin" ; 19 20 public boolean hasViewPagePermission(Page page, String user) ; 21 public boolean hasEditPagePermission(Page page, String user) ; 22 23 public boolean hasViewPortalPermission(PortalConfig portal, String user) ; 24 public boolean hasEditPortalPermission(PortalConfig portal, String user) ; 25 26 public boolean hasViewNodePermission(Node node, String portalOwner, String user) ; 27 public boolean hasEditNodePermission(Node node, String portalOwner, String user) ; 28 29 public String [] getPermissionList() ; 30 31 } | Popular Tags |