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

Remove All options from project dropdown on overview page for user have no access to all projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • Pipelines 1.16.1
    • None
    • UI
    • False
    • None
    • False
    • For the users who don't have access to list all namespaces, "All" option will be hidden in project dropdown in Pipelines overview page.
    • ODC Sprint 3264

      Description of problem:

      If users have no access to all projects then do not show `All` option in the Project dropdown

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

      Steps to Reproduce

      1.  Install Pipeline operator and enable console-plugin
      2. Create TektonResult CR
      3. Login as a non admin user
      4. Create a project and PipelineRuns
      5. Navigate to Overview page

       

      Actual results:

      On selection of All options it shows stats from all the namespaces.

      Expected results:

      It should not show stats from all the namespace if user have no access to all namespace. So better to hide All option if user have no access.

       

       *

            rh-ee-lprabhu Lokananda Prabhu
            viraj-1 Vikram Raj
            Vikram Raj Vikram Raj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: