mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-23 21:28:05 +00:00
188 lines
7.9 KiB
XML
188 lines
7.9 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" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
|
|
<decision id="groups_to_permissions_table" name="Groups to Permissions">
|
|
<decisionTable id="decisionTable_1" hitPolicy="COLLECT">
|
|
<input id="input_1" biodi:width="150">
|
|
<inputExpression id="inputExpression_1" typeRef="string">
|
|
<text>"*"</text>
|
|
</inputExpression>
|
|
</input>
|
|
<output id="OutputClause_14rq1xp" name="permission_groups" typeRef="string" />
|
|
<output id="output_1" name="permissions" typeRef="string" biodi:width="279" />
|
|
<output id="OutputClause_1d0f70s" name="permission_uris" typeRef="string" biodi:width="254" />
|
|
<rule id="DecisionRule_13uhk78">
|
|
<description>admin group has access to everything. The permissions create, read, update, and delete are the full set that is available, and "all" is a shortcut to include all permissions.</description>
|
|
<inputEntry id="UnaryTests_1yb5tu4">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_00aw971">
|
|
<text>"admin"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1drtsn8">
|
|
<text>["all"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_13n9min">
|
|
<text>"ALL"
|
|
</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0vxd5xq">
|
|
<description>everybody group has basic access to the system.</description>
|
|
<inputEntry id="UnaryTests_18ra8iv">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_09upqcm">
|
|
<text>"everybody"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0qu6sf0">
|
|
<text>["all"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0mnqz8y">
|
|
<text>"BASIC"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0y6tpc1">
|
|
<description>everybody group can read all process groups and process models.</description>
|
|
<inputEntry id="UnaryTests_0idup89">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0jn02bx">
|
|
<text>"everybody"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0qw2qs5">
|
|
<text>["read"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1671tcs">
|
|
<text>"PG:ALL"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_013jo46">
|
|
<description>Everybody can raise a New Demand Request</description>
|
|
<inputEntry id="UnaryTests_0chz5r7">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0nqs8wo">
|
|
<text>"everybody"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1omqc4b">
|
|
<text>["start"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0ki30rk">
|
|
<text>"PM:manage-procurement:procurement:requisition-order-management:raise-new-demand-request"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_15ava6l">
|
|
<description>Finance Team group has full access to the procurement process group, including authoring child process groups and process models and administering its process instances.</description>
|
|
<inputEntry id="UnaryTests_1d8q18o">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_143ih01">
|
|
<text>"Finance Team"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0aaakd4">
|
|
<text>["all"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_031h3bx">
|
|
<text>"PG:manage-procurement:procurement"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1ev5071">
|
|
<description>demo group can start the customer-contracts-trade-terms process model.</description>
|
|
<inputEntry id="UnaryTests_0rmdeuf">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1db9u0f">
|
|
<text>"demo"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1tf5fq7">
|
|
<text>["start"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_19v58sy">
|
|
<text>"PM:manage-revenue-streams:product-revenue-streams:customer-contracts-trade-terms"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_16waes0">
|
|
<description>demo group can start all process models under the core-contributor-invoice-management process group.</description>
|
|
<inputEntry id="UnaryTests_1si0twd">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_03bfkxs">
|
|
<text>"demo"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0a2vmfc">
|
|
<text>["start"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1hiq5xs">
|
|
<text>"PG:manage-procurement:procurement:core-contributor-invoice-management"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0ps58js">
|
|
<description>demo group can start all process models under the vendor-lifecycle-management process group.</description>
|
|
<inputEntry id="UnaryTests_0mmu39q">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1j2pibl">
|
|
<text>"demo"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0f635r8">
|
|
<text>["start"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_18qbym6">
|
|
<text>"PG:manage-procurement:vendor-lifecycle-management"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1ush1di">
|
|
<description>test group can read and even update task data for process instances within the test process group. If a permission_uri begins with a forward slash, this grants access to an API path directly. These can include asterisk wildcards at the end.</description>
|
|
<inputEntry id="UnaryTests_0ajhuce">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0w3207v">
|
|
<text>"test"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0mhnzp3">
|
|
<text>["read", "update"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0t37e9p">
|
|
<text>"/task-data/misc:test:*"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_04wbkm7">
|
|
<description>test group can start all process models under the test process group.</description>
|
|
<inputEntry id="UnaryTests_0rbr6bh">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1ubfxe8">
|
|
<text>"test"</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1f0vzm8">
|
|
<text>["start"]</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1uyihda">
|
|
<text>"PG:misc:test"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_07ps089">
|
|
<inputEntry id="UnaryTests_0i7qsq7">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1ez3179">
|
|
<text></text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0sfr8z0">
|
|
<text></text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1v9cekn">
|
|
<text></text>
|
|
</outputEntry>
|
|
</rule>
|
|
</decisionTable>
|
|
</decision>
|
|
<dmndi:DMNDI>
|
|
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
|
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="groups_to_permissions_table">
|
|
<dc:Bounds height="80" width="180" x="157" y="151" />
|
|
</dmndi:DMNShape>
|
|
</dmndi:DMNDiagram>
|
|
</dmndi:DMNDI>
|
|
</definitions>
|