Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5043

Bug 1889459 - last-namespace-name persists between logins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Normal
    • openshift-4.7
    • openshift-4.6
    • UI
    • Low

    Description

      Description of problem:
      When switching between admin and dev accounts in the web console, last namespace used persists and causes errors to show in the dev view if the dev account lacks permissions to the last viewed namespace seen by the admin.

      Version-Release number of selected component (if applicable):
      4.6.0

      How reproducible:
      Always

      Steps to Reproduce:
      1. Log in as admin, view, for instance, default or all-namespaces namespace
      2. Log out and back in as developer account
      3. Try to view resources from the left hand panel, e.g. Pods

      Actual results:
      Technical error page:

      Restricted Access
      You don't have access to this section due to cluster policy.
      Danger alert:Error details
      pods is forbidden: User "mydev" cannot list resource "pods" in API group "" in the namespace "default"

      Expected results:

      Redirection to first choose a namespace available to the user, or error message directing the user to choose a namespace first.

      Additional info:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aballantyne Andrew Ballantyne
              Gajanan More Gajanan More (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: