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

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

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 3.0.0-alpha1, 3.0.0
    • None
    • frontend
    • None

    Description

      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.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce