2022-12-20 16:27:28 -05:00
|
|
|
<?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" 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>Admins have access to everything.</description>
|
|
|
|
<inputEntry id="UnaryTests_1yb5tu4">
|
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
|
|
|
<outputEntry id="LiteralExpression_00aw971">
|
|
|
|
<text>"admin"</text>
|
|
|
|
</outputEntry>
|
|
|
|
<outputEntry id="LiteralExpression_1drtsn8">
|
2022-12-22 12:18:37 -05:00
|
|
|
<text>["all"]</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
<outputEntry id="LiteralExpression_13n9min">
|
2022-12-22 12:18:37 -05:00
|
|
|
<text>"ALL"
|
2022-12-20 16:27:28 -05:00
|
|
|
</text>
|
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
2022-12-22 12:18:37 -05:00
|
|
|
<rule id="DecisionRule_1ush1di">
|
|
|
|
<inputEntry id="UnaryTests_0ajhuce">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0w3207v">
|
|
|
|
<text>"education"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0mhnzp3">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text>["create", "read", "update", "delete"]</text>
|
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0t37e9p">
|
|
|
|
<text>"/process-groups/education:*"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
2022-12-22 12:18:37 -05:00
|
|
|
<rule id="DecisionRule_0kcffrp">
|
|
|
|
<inputEntry id="UnaryTests_10ga6h2">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0ujmqk1">
|
|
|
|
<text>"organization"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_09f42eh">
|
|
|
|
<text>["create", "read", "update", "delete"]</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0edy3e8">
|
|
|
|
<text>"/process-groups/education:*"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
2022-12-22 12:18:37 -05:00
|
|
|
<rule id="DecisionRule_15ava6l">
|
|
|
|
<inputEntry id="UnaryTests_1d8q18o">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_143ih01">
|
|
|
|
<text>"Finance Team"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0aaakd4">
|
|
|
|
<text>["all"]</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_031h3bx">
|
|
|
|
<text>"PG:manage-procurement:procurement"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
2022-12-22 12:18:37 -05:00
|
|
|
<rule id="DecisionRule_1ev5071">
|
|
|
|
<inputEntry id="UnaryTests_0rmdeuf">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_1db9u0f">
|
|
|
|
<text>"demo"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_1tf5fq7">
|
|
|
|
<text>["start"]</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_19v58sy">
|
|
|
|
<text>"PM:manage-revenue-streams:product-revenue-streams:customer-contracts-trade-terms"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
2022-12-22 12:18:37 -05:00
|
|
|
<rule id="DecisionRule_16waes0">
|
|
|
|
<inputEntry id="UnaryTests_1si0twd">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_03bfkxs">
|
|
|
|
<text>"demo"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0a2vmfc">
|
|
|
|
<text>["start"]</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_1hiq5xs">
|
|
|
|
<text>"PG:manage-procurement:procurement:core-contributor-invoice-management"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
2022-12-22 12:18:37 -05:00
|
|
|
<rule id="DecisionRule_0ps58js">
|
|
|
|
<inputEntry id="UnaryTests_0mmu39q">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_1j2pibl">
|
|
|
|
<text>"demo"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0f635r8">
|
|
|
|
<text>["start"]</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_18qbym6">
|
|
|
|
<text>"PG:manage-procurement:vendor-lifecycle-management"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
2022-12-22 12:18:37 -05:00
|
|
|
<rule id="DecisionRule_04wbkm7">
|
|
|
|
<inputEntry id="UnaryTests_0rbr6bh">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_1ubfxe8">
|
|
|
|
<text>"test"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_1f0vzm8">
|
|
|
|
<text>["start"]</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_1uyihda">
|
|
|
|
<text>"PG:misc:test"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
2022-12-22 12:18:37 -05:00
|
|
|
<rule id="DecisionRule_0y6tpc1">
|
|
|
|
<inputEntry id="UnaryTests_0idup89">
|
2022-12-20 16:27:28 -05:00
|
|
|
<text></text>
|
|
|
|
</inputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0jn02bx">
|
|
|
|
<text>"everybody"</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_0qw2qs5">
|
|
|
|
<text>["read"]</text>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
2022-12-22 12:18:37 -05:00
|
|
|
<outputEntry id="LiteralExpression_1671tcs">
|
|
|
|
<text>"PG:ALL"</text>
|
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
|
|
|
<rule id="DecisionRule_0vxd5xq">
|
|
|
|
<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>
|
2022-12-20 16:27:28 -05:00
|
|
|
</outputEntry>
|
|
|
|
</rule>
|
|
|
|
</decisionTable>
|
|
|
|
</decision>
|
|
|
|
<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:DMNDiagram>
|
|
|
|
</dmndi:DMNDI>
|
|
|
|
</definitions>
|