Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2716 Permission scope for collections
  3. OPT-2851

Enforce Collection scope compliance on report create/update/copy&move

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • L3 - Default
    • 2.7.0
    • None
    • backend
    • None

    Description

      Context:
      Once the collection scope is in place we need to enforce reports comply with it.
      This means reports that don't comply with the scope cannot be saved, instead a conflict response is returned indicating the scope violation.

      AT:

      • on report create/update/copy&move the compliance with the current collection scope is validated
      • a conflict response is returned indicating the scope violation
      • a report is in a scope, if all of the following criteria match for at least one scope entry:
        • the definition keys match
        • the definition types match
        • the scope contains all tenants of the report
      • the scope violation error message can be translated and has a new dedicated error code. The message should not state the scope that's being violated but rather the affected collection.
      • copy & move for combined reports and dashboards checks every contained report if it's in the scope and raises a conflict a soon as one of the reports is not within the scope of the target collection
      • the conflict response is documented on the report api

      Note:
      This may break e2e tests that work with collections and don't handle the scope yet. Should be addressed beforehand with OPT-2881.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce