-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0
-
None
-
Not defined
Brief summary of the bug. What is it ? Where is it ?
Scenario:
User exists in engine 1
User has Optimize application authorization in engine 1
No tenants exist on engine1
A process with key "testProcess" is deployed to engine 1 with no tenant set
User exists in engine 2
User has Optimize application authorization in engine 2
User has all process definition authorization in engine 2
No tenants exist on engine2
A process with key "testProcess" is deployed to engine 2 with no tenant set
Given the following Optimize config:
engines: 'camunda-bpm-1': name: default defaultTenant: id: cambpm1 name: cambpm1 rest: '${OPTIMIZE_CAMUNDABPM_REST_URL_1:http://localhost:8080/engine-rest}' importEnabled: true authentication: enabled: false password: '' user: '' webapps: endpoint: '${OPTIMIZE_CAMUNDABPM_WEBAPPS_URL:http://localhost:8080/camunda}' enabled: true 'camunda-bpm-2': name: default defaultTenant: id: cambpm2 name: cambpm2 rest: '${OPTIMIZE_CAMUNDABPM_REST_URL_2:http://localhost:8081/engine-rest}' importEnabled: true authentication: enabled: false password: '' user: '' webapps: endpoint: '${OPTIMIZE_CAMUNDABPM_WEBAPPS_URL:http://localhost:8081/camunda}'
Steps to reproduce:
- Login to Optimize with User
- Try to create a report and select the definition `testProcess`
Actual result:
3. An authorization error is thrown:
Expected result:
As the user has access to the definition on engine-2, the process selection should succeed, using the default tenant for engine-2