Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2307

User can access report on multi-tenancy not authorized to

    Details

    • Type: Bug Report
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: backend
    • Labels:

      Description

      Given:

      • multi-tenancy scenario with multi-engine (defaultTenantIds engine1:tenant1, engine2:tenant2)
      • there is a report "A" on process key "key1" with tenants: tenant1, tenant2
      • user "kermit" has the following authorizations:
        • engine1: Optimize Application Authorization, ProcessDefinition Authorization for "key1"
        • engine2: Optimize Application Authorization

      When:

      • User "Kermit" accesses Optimize

      Then:

      • he sees the report "A"

      Expected:

      • the report should not be visible as the User "Kermit" lacks the definition key authorization on engine 2 which corresponds to tenant2

        Activity

        sebastian.bathke Sebastian Bathke created issue -
        sebastian.bathke Sebastian Bathke made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Development [ 10312 ]
        sebastian.bathke Sebastian Bathke made changes -
        Description Given:

        - multi-tenancz scenario with multi-engine (defaultTenantIds engine1:tenant1, engine2:tenant2)
        - there is a report "A" on process key "key1" with tenants: tenant1, tenant2
        - user "kermit" has the following authorizations:
        -- engine1: Optimize Application Authorization, ProcessDefinition Authorization
        -- engine2: Optimize Application Authorization

        When:

        - User "Kermit" accesses Optimize

        Then:

        - he sees the report "A"

        Expected:

        - the report should not be visible as the User "Kermit" lacks the definition key authorization on engine 2 which corresponds to tenant2
        Given:

        - multi-tenancy scenario with multi-engine (defaultTenantIds engine1:tenant1, engine2:tenant2)
        - there is a report "A" on process key "key1" with tenants: tenant1, tenant2
        - user "kermit" has the following authorizations:
        -- engine1: Optimize Application Authorization, ProcessDefinition Authorization
        -- engine2: Optimize Application Authorization

        When:

        - User "Kermit" accesses Optimize

        Then:

        - he sees the report "A"

        Expected:

        - the report should not be visible as the User "Kermit" lacks the definition key authorization on engine 2 which corresponds to tenant2
        sebastian.bathke Sebastian Bathke made changes -
        Description Given:

        - multi-tenancy scenario with multi-engine (defaultTenantIds engine1:tenant1, engine2:tenant2)
        - there is a report "A" on process key "key1" with tenants: tenant1, tenant2
        - user "kermit" has the following authorizations:
        -- engine1: Optimize Application Authorization, ProcessDefinition Authorization
        -- engine2: Optimize Application Authorization

        When:

        - User "Kermit" accesses Optimize

        Then:

        - he sees the report "A"

        Expected:

        - the report should not be visible as the User "Kermit" lacks the definition key authorization on engine 2 which corresponds to tenant2
        Given:

        - multi-tenancy scenario with multi-engine (defaultTenantIds engine1:tenant1, engine2:tenant2)
        - there is a report "A" on process key "key1" with tenants: tenant1, tenant2
        - user "kermit" has the following authorizations:
        -- engine1: Optimize Application Authorization, ProcessDefinition Authorization for "key1"
        -- engine2: Optimize Application Authorization

        When:

        - User "Kermit" accesses Optimize

        Then:

        - he sees the report "A"

        Expected:

        - the report should not be visible as the User "Kermit" lacks the definition key authorization on engine 2 which corresponds to tenant2
        sebastian.bathke Sebastian Bathke made changes -
        Status In Development [ 10312 ] In Review [ 10212 ]
        sebastian.bathke Sebastian Bathke made changes -
        Assignee Sebastian Bathke [ sebastian.bathke ] Johannes Heinemann [ johannes.heinemann ]
        johannes.heinemann Johannes Heinemann made changes -
        Status In Review [ 10212 ] In Specification [ 10000 ]
        Assignee Johannes Heinemann [ johannes.heinemann ] Sebastian Bathke [ sebastian.bathke ]
        sebastian.bathke Sebastian Bathke made changes -
        Status In Specification [ 10000 ] In Development [ 10312 ]
        sebastian.bathke Sebastian Bathke made changes -
        Status In Development [ 10312 ] In Review [ 10212 ]
        sebastian.bathke Sebastian Bathke made changes -
        Assignee Sebastian Bathke [ sebastian.bathke ]
        Status In Review [ 10212 ] Done [ 10010 ]
        Resolution Fixed [ 1 ]
        sebastian.stamm Sebastian Stamm made changes -
        Fix Version/s 2.5.0 [ 15385 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            sebastian.bathke Sebastian Bathke
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: