Project

General

Profile

Actions

Bug #11470

closed

Cannot view content host errata with view_content_host permission

Added by Walden Raines over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Roles and Permissions
Target version:
Difficulty:
trivial
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Currently there is no permission that will give you access to view content host errata, you must be an administrator.

[walden@wraines-sandbox katello ((7e2c153...))]$ grep -r "katello/api/v2/system_errata" .
./lib/katello/permissions/content_host_permissions.rb: 'katello/api/v2/system_errata' => [:show],
./lib/katello/permissions/content_host_permissions.rb: 'katello/api/v2/system_errata' => [:apply],

We need to add a permission for system errata index.

Steps to Reproduce

  1. Create a non-admin user
  2. Give them the view content hosts permission
  3. Login as that user
  4. Go to the content host page
  5. Note that you cannot view errara
Actions

Also available in: Atom PDF