Sha256: 13d1877ee28decb170cd0849150c525e9af7c6ecf05a24259b15c097b7e8f40c

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<Policy xmlns="urn:oasis:names:tc:xacml:1.0:policy"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  PolicyId="deny-d-objects-and-datastreams"
  RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:first-applicable">
  <Description>Deny access to any objects or datastreams in the "D" deleted state</Description>
  <Target>
    <Subjects>
        <AnySubject/>
    </Subjects>
    <Resources>
      <Resource>
        <ResourceMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
          <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">D</AttributeValue>
          <ResourceAttributeDesignator DataType="http://www.w3.org/2001/XMLSchema#string"
            AttributeId="urn:fedora:names:fedora:2.1:resource:object:state" MustBePresent="false"/>
        </ResourceMatch>
      </Resource>
      <Resource>
        <ResourceMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal">
          <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">D</AttributeValue>
          <ResourceAttributeDesignator DataType="http://www.w3.org/2001/XMLSchema#string"
            AttributeId="urn:fedora:names:fedora:2.1:resource:datastream:state" MustBePresent="false"/>
        </ResourceMatch>
      </Resource>
    </Resources>
    <Actions>
      <AnyAction/>
    </Actions>
  </Target>
  <Rule RuleId="1" Effect="Deny"/>
</Policy>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curate-0.6.6 lib/generators/curate/soft_delete/deny-d-objects-and-datastreams.xml
curate-0.6.5 lib/generators/curate/soft_delete/deny-d-objects-and-datastreams.xml
curate-0.6.4 lib/generators/curate/soft_delete/deny-d-objects-and-datastreams.xml