In Admin, telemetry settings and execution metrics are not visible to users with system permissions

XMLWordPrintable

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

      Environment (Required on creation):

      Camunda Automation Platform 7.17.0-alpha6

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      Confer the following screenshots:

      Admin Users:

      admin-users.png

      Users with System Permissions:

      users-with-system-permissions.png

      Steps to reproduce (Required on creation):

      1. Create a user that has permissions to log in to Admin and has system permissions.
      2. Log in to Admin with this user

      Observed Behavior (Required on creation):

      Telemetry settings and execution metrics pages are not shown.

      Expected behavior (Required on creation):

      • Telemetry settings and execution metrics pages are shown.
      • Depending on the user's permissions, certain operations on the pages lead to a meaningful error, or the operations succeed.

      Root Cause (Required on prioritization):

      We only show these menu entries when the user has ALL permissions on the AUTHORIZATION resource, which no longer makes sense given the new system permissions.

      Cf.: https://github.com/camunda/camunda-bpm-platform/blob/c72d81/webapps/ui/admin/client/scripts/pages/execution-metrics.js#L218-L233

      Solution Ideas (Optional):

      Always show the menu entries and introduce meaningful error notifications if a user is not authorized to perform a particular operation.

      Hints (optional):

      -

        1. admin-users.png
          233 kB
          Tassilo Weidner-Mühl
        2. users-with-system-permissions.png
          162 kB
          Tassilo Weidner-Mühl

            Assignee:
            Clifton Davies
            Reporter:
            Tassilo Weidner-Mühl
            Clifton Davies Clifton Davies
            Tassilo Weidner-Mühl Tassilo Weidner-Mühl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: