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

Upload Jar add action is shown to user with view acces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • openshift-4.9
    • None
    • UI
    • False
    • False
    • 0
    • Undefined
    • Not Supported
    • ODC Sprint 204
    • Medium

    Description

      Description of problem:

      When logged in as a user with view access, the upload jar action in the add page is shown and when the form is submitted it throws an errorĀ 

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

      Login as a developer with view access

      Steps to Reproduce

      1. Add Page
      2. Click on Upload Jar
      3. browse and add the jar file and submit the form

      Actual results:

      The form throws an error on submission
      `imagestreams.image.openshift.io is forbidden: User "developer-view" cannot create resource "imagestreams" in API group "image.openshift.io" in the namespace`

      Expected results:

      Upload jar action should be hidden from the Add page

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info:

      Attachments

        Activity

          People

            jakumar jaivardhan Kumar
            dsantra12 Debsmita Santra
            Gajanan More Gajanan More (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: