it needs to be updated to use host permissions
Created from redmine issue http://projects.theforeman.org/issues/15724
Upstream bug assigned to email@example.com
Upstream bug component is API - Content
Upstream bug component is API
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15724 has been resolved.
I would probably argue for this to be moved to 6.3.0, given:
1) this may break existing customers, which we don't want to do in a z-stream
2) it was done as part of the System model removal for 6.3, so it would need to be a one off patch.
Previously, a user would have to use the "content_hosts" permissions to register a system, such as:
These should now be gone, and the user should use "create_hosts".
If you create a role with
you should now be able to register a system
@ Satellite 6.3 snap 29
Steps: (as per comment 11)
1. Created Org admin role that has permissions for:
create_hosts(instead of create_content_hosts which is now removed)
Added View_organizations permission
2. Create user non_admin with above role
3. Attempted to register the content host with the above user
# subscription-manager register --org="Default_Organization" --username=non_admin --password=passwd
Registering to: qeblade36.rhq.lab.eng.bos.redhat.com:443/rhsm
The system has been registered with ID: 90faee8f-9ca0-478f-99f3-276e07b47bbf
Hence changing the state to Verified!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> > For information on the advisory, and where to find the updated files, follow the link below.
> > If the solution does not work for you, open a new bug report.
> > https://access.redhat.com/errata/RHSA-2018:0336