Create report button is shown for users that are only viewers of a collection

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.0.0-alpha1, 3.0.0
    • Affects Version/s: None
    • Component/s: frontend
    • None

      Problem description:

      • given:
        • as an admin user I create a collection
        • I add mary as a view for that collection
      • when:
        • I log in with mary
        • I access the collection and go to the dashboard/report tab
      • then:
        • I see the "create new" button
      • expected:
        • Mary should not be able to see the "create new" button since she does not have the editor or manager role of that collection. She can't create any entities.

      Hint:
      This bug has already been fixed with:
      https://github.com/camunda/camunda-optimize/pull/1423

      We still need to investigate if the solution is okay and maybe write a test for it.

            Assignee:
            Unassigned
            Reporter:
            Johannes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: