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 over 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

Also available in: Atom PDF