Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-104372

[WebUI] Permission from ACL role can't be deleted [rhel-9]

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • No
    • Moderate
    • rhel-ha
    • 0
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Release Note Not Required
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      This is a clone of issue RHEL-104371 to use for version rhel-9.7

      Original description:

      What were you trying to do that didn't work?

      Delete permission from ACL role using web UI.

      Please provide the package NVR for which the bug is seen:

      Found in pcs-0.11.10-1.el9, but the issue is present in older versions as well (tried on pcs-0.11.9-2.el9).

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. Set ACL role with a permission
      2. Within the selected role, click on the Permission menu and click Remove

      Expected results

      Permission is deleted.

      Actual results

      Permission is not deleted, GUI produce following error, hints that the web UI tries to delete the permission using its whole name instead of ID specified in the brackets:

      Error while: remove permission "read xpath /cib (r1-read)"
      Messages from the backend
          ERROR: ACL permission 'read xpath /cib (r1-read)' does not exist
      

       

              mpospisi@redhat.com Michal Pospisil
              watson-automation Watson Automation
              Ivan Devát Ivan Devát
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: