Package io.meeds.portal.plugin
Interface AclPlugin
- All Known Implementing Classes:
SiteAclPlugin
public interface AclPlugin
-
Field Details
-
VIEW_PERMISSION_TYPE
- See Also:
-
EDIT_PERMISSION_TYPE
- See Also:
-
DELETE_PERMISSION_TYPE
- See Also:
-
-
Method Details
-
getObjectType
String getObjectType() -
hasPermission
boolean hasPermission(String objectId, String permissionType, org.exoplatform.services.security.Identity identity) - Parameters:
objectId- Object identifierpermissionType- Permission Type, can be : VIEW, EDIT or DELETE. This parameter can be a custom permission type too, which may be compatible with some plugins onlyidentity- User ACL Identity. This will be null when anonymous user- Returns:
- true if the user can view the identified object
-