Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1696

Add permission to Add execution environment button in EE

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • False
    • Hide

      None

      Show
      None
    • False

      Problem Description: Adding Execution Environment fails for users without permission in UI. Permission error isn't displayed and nothing happens.

      Reproduce:
      1. create a test user without permissions
      2. go to `/ui/containers`
      3. click on `Add execution environment`
      4. fill out the form  (e.g. Name: `eetest`,  Upstream name: `upstreamtest`, Registry: `docker`) 
      5. Click the `Save` button

      Proposed Solution: Hide the `Add execution environment` button when the user doesn't have permission (`Create new containers`). That way users can't visit the `Add execution environment` modal.

              semighdo@redhat.com Shaiah Emigh-Doyle
              jjerabek@redhat.com Jiri Jerabek
              Henderson Hummel Henderson Hummel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: