def propagate_vocab_restrictions_to_children(container, event): restricted_fields = [ IClassification['classification'], IClassification['privacy_layer']] propagate_vocab_restrictions( container, event, restricted_fields, IClassificationMarker)
def propagate_vocab_restrictions_to_children(container, event): restricted_fields = [ ILifeCycle['retention_period'], ILifeCycle['archival_value'], ILifeCycle['custody_period']] propagate_vocab_restrictions( container, event, restricted_fields, ILifeCycleMarker)
def propagate_vocab_restrictions_to_children(container, event): if ILocalrolesModifiedEvent.providedBy(event): return restricted_fields = [ IClassification['classification'], IClassification['privacy_layer'] ] propagate_vocab_restrictions(container, event, restricted_fields, IClassificationMarker)
def propagate_vocab_restrictions_to_children(container, event): if ILocalrolesModifiedEvent.providedBy(event) or \ IContainerModifiedEvent.providedBy(event): return restricted_fields = [ IClassification['classification'], IClassification['privacy_layer']] propagate_vocab_restrictions( container, event, restricted_fields, IClassificationMarker)
def propagate_vocab_restrictions_to_children(container, event): if ILocalrolesModifiedEvent.providedBy(event): return restricted_fields = [ ILifeCycle['retention_period'], ILifeCycle['archival_value'], ILifeCycle['custody_period']] propagate_vocab_restrictions( container, event, restricted_fields, ILifeCycleMarker)
def propagate_vocab_restrictions_to_children(container, event): if ILocalrolesModifiedEvent.providedBy(event) or \ IContainerModifiedEvent.providedBy(event): return restricted_fields = [ ILifeCycle['retention_period'], ILifeCycle['archival_value'], ILifeCycle['custody_period']] propagate_vocab_restrictions( container, event, restricted_fields, ILifeCycleMarker)