A non-admin users with view permissions are unable to view resource details since they are only displayed in the edit form.
Description of problem:
A non-admin user with viewer role or 'view_provisioning_templates' permission is only able to see the list (name) of provisioning templates and unable to see the template box or details of the provisioning template.
How reproducible: (Always)
Steps to Reproduce:
1) Create a non-admin user and assign 'Viewer' role to it or assign a custom role having 'view_provisioning_templates' permissions filter added to it.
2) From Satellite web interface navigate to 'Hosts' -> 'Provisioning templates'.
3) Click on the name of any provisioning templates being listed.
No action takes place and provisioning template details are not opened.
The template box or details of provisioning template should be visible with read only permission.
This is true for all resources, not just provisioning templates. Users with view_* permission can only see the index in the UI currently, not any resource details.