demo-process-models/admin/permissions/groups_permissions.dmn

113 lines
4.7 KiB
Plaintext
Raw Normal View History

2023-06-13 19:19:27 +00: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" exporter="Camunda Modeler" exporterVersion="5.9.0">
<decision id="groups_to_permissions_dev" 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_0vefj7v">
<description>Tech writers have access to everything.</description>
<inputEntry id="UnaryTests_0are8mn">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_133n2ak">
<text>"tech_writers"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0grv37e">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1qzjsnf">
<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 and start all process groups and process models in Examples.</description>
<inputEntry id="UnaryTests_0idup89">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0jn02bx">
<text>"everybody"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0qw2qs5">
<text>["read", "start"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1671tcs">
<text>"PG:examples"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0wqas1k">
<description>Madhurya has all access to her playground,</description>
<inputEntry id="UnaryTests_10u17mu">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_12c38ry">
<text>"Madhurya"</text>
</outputEntry>
<outputEntry id="LiteralExpression_0ncxvu7">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_1w6fmne">
<text>"PG:playground:Madhurya"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0ds11av">
<description>Dan has all access to his playground.</description>
<inputEntry id="UnaryTests_1546ip9">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1teb4mj">
<text>"Dan"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1ico0n1">
<text>["all"]</text>
</outputEntry>
<outputEntry id="LiteralExpression_0y1y3i7">
<text>"PG:playground:Dan"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="groups_to_permissions_dev">
<dc:Bounds height="80" width="180" x="250" y="150" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>