DEV-1058 bugfix filtering by tenant

qa
Sven Ketelsen 3 years ago
parent 1edd02a085
commit 2442f6d98f

@ -0,0 +1,14 @@
{
"configKey" : "service-change",
"processDefinitionKey" : "service-change",
"documents" : [ ],
"dossiers" : [ {
"configKey" : "vorgang",
"currentUserConfig" : [ [ {
"key" : "data.filterTenantId",
"operation" : "in",
"value" : "${currentUserAttributes.tenantIds}"
} ] ],
"gruppenConfigs" : { }
} ]
}

@ -4,7 +4,11 @@
"documents" : [ ], "documents" : [ ],
"dossiers" : [ { "dossiers" : [ {
"configKey" : "vorgang", "configKey" : "vorgang",
"currentUserConfig" : [ [ ] ], "currentUserConfig" : [ [ {
"key" : "data.filterTenantId",
"operation" : "in",
"value" : "${currentUserAttributes.tenantIds}"
} ] ],
"gruppenConfigs" : { } "gruppenConfigs" : { }
} ] } ]
} }

@ -0,0 +1,14 @@
{
"configKey" : "service-delete",
"processDefinitionKey" : "service-delete",
"documents" : [ ],
"dossiers" : [ {
"configKey" : "vorgang",
"currentUserConfig" : [ [ {
"key" : "data.filterTenantId",
"operation" : "in",
"value" : "${currentUserAttributes.tenantIds}"
} ] ],
"gruppenConfigs" : { }
} ]
}

@ -0,0 +1,14 @@
{
"configKey" : "service-replay-setup",
"processDefinitionKey" : "service-replay-setup",
"documents" : [ ],
"dossiers" : [ {
"configKey" : "vorgang",
"currentUserConfig" : [ [ {
"key" : "data.filterTenantId",
"operation" : "in",
"value" : "${currentUserAttributes.tenantIds}"
} ] ],
"gruppenConfigs" : { }
} ]
}

@ -0,0 +1,14 @@
{
"configKey" : "service-search",
"processDefinitionKey" : "service-search",
"documents" : [ ],
"dossiers" : [ {
"configKey" : "vorgang",
"currentUserConfig" : [ [ {
"key" : "data.filterTenantId",
"operation" : "in",
"value" : "${currentUserAttributes.tenantIds}"
} ] ],
"gruppenConfigs" : { }
} ]
}

@ -29,6 +29,12 @@
"searchable" : true, "searchable" : true,
"label" : "creation_user_id" "label" : "creation_user_id"
}, },
"filterTenantId" : {
"type" : "string",
"classification" : "PRIVATE",
"searchable" : true,
"label" : "TenantId"
},
"in_data" : { "in_data" : {
"type" : "object", "type" : "object",
"classification" : "PRIVATE", "classification" : "PRIVATE",

@ -144,6 +144,11 @@
<bpmn2:outgoing>Flow_1csuwvq</bpmn2:outgoing> <bpmn2:outgoing>Flow_1csuwvq</bpmn2:outgoing>
</bpmn2:intermediateThrowEvent> </bpmn2:intermediateThrowEvent>
<bpmn2:startEvent id="Event_05poocw" camunda:asyncAfter="true"> <bpmn2:startEvent id="Event_05poocw" camunda:asyncAfter="true">
<bpmn2:extensionElements>
<camunda:executionListener event="start">
<camunda:script scriptFormat="groovy">execution.setVariable('filterTenantId', service.tenant_key)</camunda:script>
</camunda:executionListener>
</bpmn2:extensionElements>
<bpmn2:outgoing>Flow_0v9fn99</bpmn2:outgoing> <bpmn2:outgoing>Flow_0v9fn99</bpmn2:outgoing>
</bpmn2:startEvent> </bpmn2:startEvent>
<bpmn2:sequenceFlow id="Flow_0qnwk1l" sourceRef="Gateway_109jevx" targetRef="Event_09hkg8k" /> <bpmn2:sequenceFlow id="Flow_0qnwk1l" sourceRef="Gateway_109jevx" targetRef="Event_09hkg8k" />

@ -49,6 +49,11 @@
<bpmn2:sequenceFlow id="Flow_0u33xva" sourceRef="Activity_1t227a4" targetRef="Activity_1fwgq9n" /> <bpmn2:sequenceFlow id="Flow_0u33xva" sourceRef="Activity_1t227a4" targetRef="Activity_1fwgq9n" />
<bpmn2:sequenceFlow id="Flow_165535w" sourceRef="Activity_1fwgq9n" targetRef="Event_15fhie6" /> <bpmn2:sequenceFlow id="Flow_165535w" sourceRef="Activity_1fwgq9n" targetRef="Event_15fhie6" />
<bpmn2:startEvent id="Event_05poocw" camunda:asyncAfter="true"> <bpmn2:startEvent id="Event_05poocw" camunda:asyncAfter="true">
<bpmn2:extensionElements>
<camunda:executionListener event="start">
<camunda:script scriptFormat="groovy">execution.setVariable('filterTenantId', service.tenant_key)</camunda:script>
</camunda:executionListener>
</bpmn2:extensionElements>
<bpmn2:outgoing>Flow_0v9fn99</bpmn2:outgoing> <bpmn2:outgoing>Flow_0v9fn99</bpmn2:outgoing>
</bpmn2:startEvent> </bpmn2:startEvent>
<bpmn2:sequenceFlow id="Flow_0v9fn99" sourceRef="Event_05poocw" targetRef="Activity_0l7e61k" /> <bpmn2:sequenceFlow id="Flow_0v9fn99" sourceRef="Event_05poocw" targetRef="Activity_0l7e61k" />

Loading…
Cancel
Save