Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
The Register hosts role lists 19 permissions and it's a default role provided by Foreman. Instead of listing all permissions, I'm just mentioning the role or its equivalent. I believe that a user admin would be able figure out the rest based on this info.
Checklists
[x] I am okay with my commits getting squashed when you merge this PR.
[x] I am familiar with the contributing guidelines.
Please cherry-pick my commits into:
[x] Foreman 3.13/Katello 4.15
[x] Foreman 3.12/Katello 4.14 (Satellite 6.16)
[x] Foreman 3.11/Katello 4.13 (orcharhino 6.11 on EL8 only)
What changes are you introducing?
Fixing permissions required to register a host
Why are you introducing these changes? (Explanation, links to references, issues, etc.)
The
create_hosts
permission is insufficient. The user must have the role Register hosts or equivalent.Requested in https://issues.redhat.com/browse/SAT-29409
Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)
Checklists
Please cherry-pick my commits into: