Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-7649

Security Checks: Show "Insufficient access permissions" in UI for non admin users

Details

    • Improvement
    • Status: Done
    • Low
    • Resolution: Done
    • 2.13.0, 2.14.0, 2.15.0
    • 2.20.0
    • PMM UI
    • 2
    • Yes
    • Yes
    • Server Integrations

    Description

      When non admin user tries to access page which editor/viewer users cannot access, directly via URL he/she will should get "Insufficient access permissions".

      This behaviour should be unified for all pages that can't be accessed by editors/viewers. Access denied notification should be removed in such cases.

       

      How to test:

      1. Login with an account with viewer/editor permissions;
      2. Go through the URL to dbaas, security checks, integrated alerting or backups.
      3. Check that the message "Insufficient access permissions." shows.
      4. Login with an admin account.
      5. Go to any of the previous pages.
      6. Check that the feature shows as expected or in case it's disabled shows a message to enable the feature.

      Attachments

        1. image (2).png
          22 kB
          Tiago Mota
        2. image-2021-03-04-14-45-46-277.png
          22 kB
          Beata Handzelova
        3. image-2021-06-01-16-10-46-888.png
          65 kB
          Beata Handzelova
        4. image-2021-06-01-16-12-47-123.png
          37 kB
          Beata Handzelova
        5. image-2021-06-01-16-14-09-191.png
          17 kB
          Beata Handzelova
        6. localhost_Archive [21-06-25 10-15-21].har
          4.62 MB
          Beata Handzelova
        7. redirect.gif
          3.09 MB
          Beata Handzelova

        Activity

          People

            tiago.mota Tiago Mota (Inactive)
            beata.handzelova1 Beata Handzelova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2 days, 4 hours
                2d 4h

                Smart Checklist