mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 21:58:18 +00:00
117 lines
4.7 KiB
XML
117 lines
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
|
|
<decision id="groups_to_permissions" name="Groups to Processes">
|
|
<informationRequirement id="InformationRequirement_0yj9j46">
|
|
<requiredInput href="#InputData_0pr5j5m" />
|
|
</informationRequirement>
|
|
<decisionTable id="decisionTable_1" hitPolicy="COLLECT">
|
|
<input id="input_1">
|
|
<inputExpression id="inputExpression_1" typeRef="string">
|
|
<text>groups</text>
|
|
</inputExpression>
|
|
</input>
|
|
<output id="output_1" name="permissions" typeRef="string" biodi:width="390.991455078125" />
|
|
<rule id="DecisionRule_13uhk78">
|
|
<inputEntry id="UnaryTests_1yb5tu4">
|
|
<text>"admin" in ?</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1drtsn8">
|
|
<text>"PG:*:ALL"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0k9f1qb">
|
|
<inputEntry id="UnaryTests_05yo5vc">
|
|
<text>"education" in ?</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1op7mul">
|
|
<text>"PM:edu:ALL"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1bqal7r">
|
|
<inputEntry id="UnaryTests_136tkjz">
|
|
<text>"teachers" in ?</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1isbv2e">
|
|
<text>"PG:edu:EXECUTE"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0bflbmk">
|
|
<inputEntry id="UnaryTests_1nd2fzv">
|
|
<text>"students" in ?</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1265r7a">
|
|
<text>"PM:edu/school_admission:EXECUTE"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0vhwss9">
|
|
<inputEntry id="UnaryTests_1g3woxl">
|
|
<text>"transportation" in ?</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0uovxy5">
|
|
<text>"PM:trans/bus_entry:ALL"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1cq1j3b">
|
|
<inputEntry id="UnaryTests_1n564ft">
|
|
<text>"leadership" in ?</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0bl35nc">
|
|
<text>"PG:*:CREATE"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1rpt9bl">
|
|
<inputEntry id="UnaryTests_1aa5gdv">
|
|
<text>"leadership" in ?</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1jei2e7">
|
|
<text>"PG:*:READ"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0ehfhlz">
|
|
<inputEntry id="UnaryTests_12f0uu3">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_01s3loo">
|
|
<text>"school_admission_process:EXECUTE"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0bmlem2">
|
|
<inputEntry id="UnaryTests_0ul2079">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_17cli1h">
|
|
<text>"bus_entry_process:EXECUTE"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
</decisionTable>
|
|
</decision>
|
|
<inputData id="InputData_0pr5j5m" name="List of Possible Permissions" />
|
|
<knowledgeSource id="KnowledgeSource_0vvlv5x">
|
|
<authorityRequirement id="AuthorityRequirement_0k6nw7i">
|
|
<requiredDecision href="#groups_to_permissions" />
|
|
</authorityRequirement>
|
|
</knowledgeSource>
|
|
<dmndi:DMNDI>
|
|
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
|
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="groups_to_permissions">
|
|
<dc:Bounds height="80" width="180" x="157" y="151" />
|
|
</dmndi:DMNShape>
|
|
<dmndi:DMNShape id="DMNShape_0p7hace" dmnElementRef="InputData_0pr5j5m">
|
|
<dc:Bounds height="45" width="125" x="184" y="297" />
|
|
</dmndi:DMNShape>
|
|
<dmndi:DMNShape id="DMNShape_0lwj7i7" dmnElementRef="KnowledgeSource_0vvlv5x">
|
|
<dc:Bounds height="63" width="100" x="340" y="279" />
|
|
</dmndi:DMNShape>
|
|
<dmndi:DMNEdge id="DMNEdge_0ics31i" dmnElementRef="AuthorityRequirement_0k6nw7i">
|
|
<di:waypoint x="288" y="231" />
|
|
<di:waypoint x="340" y="281" />
|
|
</dmndi:DMNEdge>
|
|
<dmndi:DMNEdge id="DMNEdge_0ljwxsk" dmnElementRef="InformationRequirement_0yj9j46">
|
|
<di:waypoint x="247" y="297" />
|
|
<di:waypoint x="247" y="251" />
|
|
<di:waypoint x="247" y="231" />
|
|
</dmndi:DMNEdge>
|
|
</dmndi:DMNDiagram>
|
|
</dmndi:DMNDI>
|
|
</definitions>
|