Class PageReadPermissionForRedactor
java.lang.Object
ch.tocco.nice2.dms.spi.security.policyprocessor.AbstractDmsPolicyProcessor
ch.tocco.nice2.optional.cms.impl.security.policyprocessor.PageReadPermissionForRedactor
- All Implemented Interfaces:
PolicyProcessor
@Component
@Deprecated
public class PageReadPermissionForRedactor
extends AbstractDmsPolicyProcessor
Deprecated.
PolicyProcessor
that efficiently implements the equivalent of the following acl rule:
entity(Page):
grant access(read) to redactor if
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 ch.tocco.nice2.dms.spi.security.policyprocessor.AbstractDmsPolicyProcessor
context, evaluationService, typeManager
-
Constructor Summary
ConstructorDescriptionPageReadPermissionForRedactor
(Context context, TypeManager typeManager, PermissionMatrixEvaluationService evaluationService) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable Node
getAdditionalCondition
(EntityModel entityModel) Deprecated.protected String
Deprecated.protected boolean
isSupported
(Principal principal) Deprecated.Methods inherited from class ch.tocco.nice2.dms.spi.security.policyprocessor.AbstractDmsPolicyProcessor
getEntityModel, prependRule, processPolicy
-
Constructor Details
-
PageReadPermissionForRedactor
public PageReadPermissionForRedactor(Context context, TypeManager typeManager, PermissionMatrixEvaluationService evaluationService) Deprecated.
-
-
Method Details
-
isSupported
Deprecated.- Specified by:
isSupported
in classAbstractDmsPolicyProcessor
-
getNodePermissionName
Deprecated.- Specified by:
getNodePermissionName
in classAbstractDmsPolicyProcessor
-
getAdditionalCondition
Deprecated.- Specified by:
getAdditionalCondition
in classAbstractDmsPolicyProcessor
-