Project

General

Profile

Actions

Bug #13756

closed

User shouldn't be able to install packages after un-registering a host from content-host page

Added by Sachin Ghai about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1309308
Description of problem:
I unregistered a content-host from webUI, host was unregistered successfully and I can see a message on UI on accessing subscription and errata tab like:

This Host is not currently registered with subscription-manager. Click here for registration information.

However, packages tab is still available to install packages though host is not registered. So use should get similar message as on accessing the 'packages' tab

Version-Release number of selected component (if applicable):
foreman-release-1.11.0-0.develop.201602111150gitf6014fb.el7.noarch
katello-installer-2.5.0-1.nightly.201602120122git5f95a31.el7.noarch
katello-2.5.0-4.nightly.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. unregister a content-host
2. select content-host and goto 'packages' tab. It allows to install/removes packages
3.

Actual results:
packages tab allows to install/remove/update packages on content-host which is unregistered.

Expected results:
user should get message similar to one accessing subscription/errata tabs like:

This Host is not currently registered with subscription-manager. Click here for registration information.

Additional info:

Actions #1

Updated by Eric Helms about 8 years ago

  • Category set to Hosts
  • Assignee set to Justin Sherrill
  • translation missing: en.field_release set to 86
Actions #2

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release changed from 86 to 144
Actions #3

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6036 added
Actions #4

Updated by Justin Sherrill almost 8 years ago

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

Updated by Eric Helms almost 8 years ago

  • translation missing: en.field_release changed from 144 to 86
Actions

Also available in: Atom PDF