Class AllowPermissionServiceImpl

  • All Implemented Interfaces:
    java.util.EventListener, PermissionServiceSPI, org.alfresco.service.cmr.security.PermissionService, Extensible, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

    public class AllowPermissionServiceImpl
    extends PermissionServiceImpl
    • Constructor Detail

      • AllowPermissionServiceImpl

        public AllowPermissionServiceImpl()
    • Method Detail

      • hasPermission

        public org.alfresco.service.cmr.security.AccessStatus hasPermission​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                                                            PermissionReference perm)
        Description copied from interface: PermissionServiceSPI
        Check that the given authentication has a particular permission for the given node. (The default behaviour is to inherit permissions)
        Specified by:
        hasPermission in interface PermissionServiceSPI
        Overrides:
        hasPermission in class PermissionServiceImpl
        Parameters:
        nodeRef - NodeRef
        perm - PermissionReference
        Returns:
        the access status
      • hasPermission

        public org.alfresco.service.cmr.security.AccessStatus hasPermission​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                                                            java.lang.String perm)
        Specified by:
        hasPermission in interface org.alfresco.service.cmr.security.PermissionService
        Overrides:
        hasPermission in class PermissionServiceImpl