Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-907

ArgoCD and Quay plugin permission are not displayed in the RBAC front-end UI

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      = ArgoCD plugin permission and Quay plugin permission are not displayed in the RBAC front-end UI

      Previously, permissions associated only with front-end-only plugins did not appear in the RBAC front-end UI because they required a backend plugin to expose the permission framework's well-known endpoint.

      With this update, you can apply these permissions by using a CSV file or directly calling the REST API of the RBAC backend plugin. Affected plugins include ArgoCD (`argocd.view.read`) and Quay (`quay.view.read`).
      Show
      = ArgoCD plugin permission and Quay plugin permission are not displayed in the RBAC front-end UI Previously, permissions associated only with front-end-only plugins did not appear in the RBAC front-end UI because they required a backend plugin to expose the permission framework's well-known endpoint. With this update, you can apply these permissions by using a CSV file or directly calling the REST API of the RBAC backend plugin. Affected plugins include ArgoCD (`argocd.view.read`) and Quay (`quay.view.read`).
    • Bug Fix
    • Done

      Description of problem:

      If the ArgoCD plugin or Quay plugin has been enabled in the rhdh instance and also added to the app-config so that the permission will be discoverable, it does not show up in the UI.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Enable the ArgoCD or Quay plugin
      2. Add the ArgoCD or Quay plugin to the list of `pluginsWithPermissions`
      3. Enable the rbac frontend plugin
      4. Give yourself admin access
      5. Navigate to the admin page of the rbac plugin
      6. Attempt to create a role and permission using the `argocd.view.read` or `quay.view.read` permission
      7. Notice that argocd or quay is not an option for a plugin

      Actual results:

      The inability to create a role with the argocd and quay plugin permission from the frontend

      Expected results:

      The ability to create a role with the argocd or quay plugin permission from the frontend

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      There is a workaround in which you have to call the rbac backend plugin api directly or declare through the use of the CSV file to add the `argocd.view.read` permission. There are also backend plugins ArgoCD and Quay that fix this issue but they are currently not part of preinstalled plugins in rhdh.

              rhn-support-jmagak Judith Amondi Magak
              rh-ee-dzemanov Dominika Zemanovicova
              RHIDP - Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: