Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-7108

Non-creator user of a repository should not see the logs tab in new UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • quay-v3.11.0
    • quay-ui
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Non-creator user of a repository should not see the logs tab in new UI.

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

      quay-operator-bundle-container-v3.11.1-15
      ------------------------------
      registry.redhat.io/quay/quay-operator-rhel8@sha256:a3a2171448b30385700e6f64633016abfb5dc331849a91cdc354405a32eb444c
      ------------------------------
      $ oc get $(oc get pod -l app=quay -o NAME -n quay-enterprise|head -n 1) -o jsonpath='{.spec.containers[0].image}' -n quay-enterprise
      registry.redhat.io/quay/quay-rhel8@sha256:bca647c67c7ece7fb427498db44af850ca05b4cba2f55b78d90fb9d7059883e7 

      How reproducible:

      1 Create two normal user user1 and user2

      2 Log in quay new UI by user2 and create a repository "user2_org/user2repo", then push a image to this repository by user2

      3. Create a team, add user1 to this team, assign "write" permission of  repository "user2_org/user2repo" to user1

      4 Check the logs tabs of organization "user2_org" and repository "user2repo" under user2 account in new UI

      The logs tab of user2_org user2 saw in new UI

      The logs tab of user2repo user2 saw in new UI

      4 Log in quay new UI by user1 

      5. Check the logs tabs of organization "user2_org" and repository "user2repo" under user1 account in new UI

      The logs tab of user2_org user1 saw in new UI

      The logs tab of user2repo user1 saw in new UI

      Actual results:

      In current new UI,  the logs tabs of organization "user2_org" and repository "user2repo"  user1 saw go to error status.

      But in fact, in old UI.  user1 can NOT see these logs tabs.

      The tabs of user2_org user1 saw in old UI

      The tabs of user2repo user1 saw in old UI

      Expected results

      The new UI should work as what the old UI do, the non-creator user should not see the logs tabs in the new UI. 

              Unassigned Unassigned
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: