Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec55c22

Browse files
author
Stephan Wentz
committed
[Workflow] Add missing audit-trail settings in framework workflow config xsd
1 parent 9c2a9c8 commit ec55c22

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@
311311
<xsd:complexType name="workflow">
312312
<xsd:sequence>
313313
<xsd:element name="initial-marking" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
314+
<xsd:element name="audit-trail" type="audit_trail" minOccurs="0" maxOccurs="1" />
314315
<xsd:element name="marking-store" type="marking_store" minOccurs="0" maxOccurs="1" />
315316
<xsd:element name="support" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
316317
<xsd:element name="event-to-dispatch" type="event_to_dispatch" minOccurs="0" maxOccurs="unbounded" />
@@ -339,6 +340,19 @@
339340
<xsd:attribute name="logLevel" type="xsd:string" />
340341
</xsd:complexType>
341342

343+
<xsd:complexType name="audit_trail">
344+
<xsd:attribute name="enabled" type="xsd:boolean" />
345+
</xsd:complexType>
346+
347+
<xsd:simpleType name="audit_trail_enabled">
348+
<xsd:restriction base="xsd:string">
349+
<xsd:enumeration value="true" />
350+
<xsd:enumeration value="false" />
351+
<xsd:enumeration value="1" />
352+
<xsd:enumeration value="0" />
353+
</xsd:restriction>
354+
</xsd:simpleType>
355+
342356
<xsd:complexType name="marking_store">
343357
<xsd:sequence>
344358
<xsd:element name="argument" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />

0 commit comments

Comments
 (0)