Class PageReadPermissionForNonAnonymous
java.lang.Object
ch.tocco.nice2.dms.spi.security.policyprocessor.AbstractDmsPolicyProcessor
ch.tocco.nice2.optional.cms.impl.security.policyprocessor.PageReadPermissionForNonAnonymous
- All Implemented Interfaces:
PolicyProcessor
@Component
@Deprecated
public class PageReadPermissionForNonAnonymous
extends AbstractDmsPolicyProcessor
Deprecated.
PolicyProcessor that efficiently implements the equivalent of the following acl rule:
entity(Page):
grant access(read) except redactor, &anonymous if exists(relContent_published)
and ( read_permissions_set == false
or (relNode_right.relNode_permission.unique_id == "read"
and relNode_right.relRole.relLogin_role.relPrincipal.username == principal.name) );
-
Field Summary
Fields inherited from class AbstractDmsPolicyProcessor
context, evaluationService, typeManager -
Constructor Summary
ConstructorsConstructorDescriptionPageReadPermissionForNonAnonymous(Context context, TypeManager typeManager, PermissionMatrixEvaluationService evaluationService) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected NodegetAdditionalCondition(EntityModel entityModel) Deprecated.protected StringDeprecated.protected booleanisSupported(Principal principal) Deprecated.Methods inherited from class AbstractDmsPolicyProcessor
getEntityModel, prependRule, processPolicy
-
Constructor Details
-
PageReadPermissionForNonAnonymous
public PageReadPermissionForNonAnonymous(Context context, TypeManager typeManager, PermissionMatrixEvaluationService evaluationService) Deprecated.
-
-
Method Details
-
isSupported
Deprecated.- Specified by:
isSupportedin classAbstractDmsPolicyProcessor
-
getNodePermissionName
Deprecated.- Specified by:
getNodePermissionNamein classAbstractDmsPolicyProcessor
-
getAdditionalCondition
Deprecated.- Specified by:
getAdditionalConditionin classAbstractDmsPolicyProcessor
-