Bug #13756
closedUser shouldn't be able to install packages after un-registering a host from content-host page
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:
Updated by Eric Helms over 8 years ago
- Category set to Hosts
- Assignee set to Justin Sherrill
- Translation missing: en.field_release set to 86
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release changed from 86 to 144
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6036 added
Updated by Justin Sherrill over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|cdc212d271bb208936cfb9d678070be1dde9b7c0.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release changed from 144 to 86