Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-38091

Accessing new host index page without view hosts permission displays the page with a 403 error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 6.18.z, 6.19.0
    • 6.18.0
    • Hosts
    • False
    • sat-proton
    • None
    • None
    • None
    • None
    • Yes

      Description of problem:

      Accessing new host index page without view hosts permission displays the page with a 403 error. The previous implementation showed an error page that mentioned which permission the user is currently lacking.

      How reproducible:

      Always

      Is this issue a regression from an earlier version:

      It's a regression between the old and the new implementation

      Steps to Reproduce:

      1. Have a user without any permissions

      2. Log in as that user

      3. Navigate to /new/hosts

      Actual behavior:
      Page loads with search bar, register and create buttons. The table body contains text "Request failed with status code 403"

      Expected behavior:
      An error page stating the user doesn't have view_hosts permission

      Business Impact / Additional info:
      See attachments for difference between the old and the new page.
       

              Unassigned Unassigned
              aruzicka@redhat.com Adam Ruzicka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: