Import behaves unexpectedly for unauthorized multi-definition reports

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.10.0-alpha1, 3.10.0
    • Affects Version/s: None
    • Component/s: backend
    • None
    • 3
    • Not defined

      Problem:

      When multi-process

      Steps to reproduce:

      As a superuser with access to multiple definitions:

      1. Create a report with all definitions
      2. Export the report

      As a superuser with access to not all of the definitions of that report:

      1. Import the exported report json
      2. Observe the successful import

      Actual result :

      The import request succeeds, but the newly imported report is not visible to the user as they do not have permission to see the report.

      Expected result:

      Import is rejected when the user does not have access to all definitions within a report, as with single definition reports.

      Hint:

      This still works as expected when importing a single definition report (see attached image for error message)

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Joshua Windels
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: