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.
- relates to
-
SAT-41562 When missing view permissions, /new/hosts page javascript execution never stops
-
- New
-