Class FolderReadPermissionForNonAnonymous

java.lang.Object
ch.tocco.nice2.dms.spi.security.policyprocessor.AbstractDmsPolicyProcessor
ch.tocco.nice2.dms.impl.security.policyprocessor.FolderReadPermissionForNonAnonymous
All Implemented Interfaces:
PolicyProcessor

@Component public class FolderReadPermissionForNonAnonymous extends AbstractDmsPolicyProcessor
Efficient implementation of the following rule for Folder entities:

  grant access(read) except &anonymous if
   not system
   and entity_model == null
   and exists (relNode_right where relNode_permission.unique_id == "read" and relRole.relLogin_role.relPrincipal.username == principal.name)
   and not mail_box;