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

        Activity

          People

            tiago.mota Tiago Mota (Inactive)
            beata.handzelova Beata Handzelova
            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