Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-9452

[UI] Non-admin users are unable to switch context to All Projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • UI

      Description of problem:

      When a user views PipelineRuns/Approvals under the All Projects context, resources are visible. However, if the user switches context to a specific project and then immediately switches the context dropdown to switch to All Projects, the list returns only the user's project. All projects context is not visible.

      The default landing page for user is all projects if he creates new projects then he can't go back to all projects.
      for manual approval request will show up in all projects because user don't have access to the namespace created by kubeadmin user.
      so if the user cannot go to all projects he cannot approve/reject the new approvals requests.

      Workaround:

      Every time a user has to log out and log in again to switch to the all project view. The back button will also work to switch to all projects.

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

      OSP 1.21.0 in OCP 4.19

      Steps to Reproduce

      • Navigate to the Pipelines section and select the Approvals or PipelineRuns.
      • Ensure the Project dropdown is set to "All Projects". Verify that a list of items is visible.
      • Create pipelieruns and approval tasks from kubeadmin.
      • Pipelineruns/approvaltask created by kubeadmin waiting for approval from user show list.
      • Click the Project dropdown and select "Create Project".
      • Create a dummy project.
      • Wait for the UI to switch context to the new project.
      • Click the Project dropdown again and switch back to "All Projects" to approve the pending approvals.

      Actual results:

      Not able to switch contecxt to all projects

      Expected results:

      The project list should show the All Projects section to list pipelineruns and approval tasks awaiting users' approval

      Reproducibility (Always/Intermittent/Only Once):

      Always

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

      Attached the video of the behaviour seen below

              Unassigned Unassigned
              rhn-support-sselvan Sri Vignesh Selvan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: