2022 April Release

Customization Point FSCPERSONNELFILE@1.1001:InheritSecurityContext Permanent link for this heading

This customization point defines in which cases in a personnel file context the parent ACL will be inherited by the child.

Example:
customize InheritSecurityContext<Object> {
  definedacl = expression {
    AccessControlList curracl = cooobj.objaclobj;
    AccessControlList categoryacl = null;
    DocumentCategory category = cooobj.objcategory;
    if (category &&
      (category.HasClass(#DocumentCategory) ||
       category.HasClass(#ComponentDocumentCategory))) {
      categoryacl = category.dcdefaultacl;
    }
    if (categoryacl && categoryacl.HasClass(#AccessControlList)) {
      return null;
    }
    else if (cootx.IsCreated(cooobj) || cooobj in #TV.TV_ALLIMPORTEDOBJECTS ||
        cooobj in #TV.TV_PERSISTED || backlink != #objaclobj ||
        (curracl && curracl == oldparentacl)) {
      return newparentacl;
    }
  }
}

AccessControlList FSCPERSONNELFILE@1.1001:InheritSecurityContext(
  key ObjectClass objclass,
  AttributeDefinition backlink,
  AccessControlList newparentacl,
  AccessControlList oldparentacl,
  out retval AccessControlList definedacl)

Name

Description

objclass

applies to objects of the defined object class

backlink

the backlink

newparentacl

the newparentacl

oldparentacl

the oldparentacl

definedacl

the ACL which should be applied to the child object; if no ACL is returned, the current ACL of the child object will not be changed

Additional Information