Project

General

Profile

Actions

Bug #11470

closed

Cannot view content host errata with view_content_host permission

Added by Walden Raines over 8 years ago. Updated almost 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 #1

Updated by Walden Raines over 8 years ago

  • Bugzilla link set to 1256494
Actions #2

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5438 added
  • Pull request deleted ()
Actions #3

Updated by Walden Raines over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Stephen Benjamin over 8 years ago

  • translation missing: en.field_release set to 77
Actions

Also available in: Atom PDF