Bug #38243
openRegistering a host with non-admin user with "Register hosts" role doesn't move the host in specified location
Description
Description of problem:
Registering a host with non-admin user with "Register hosts" role doesn't move the host in specified location, and instead moves the host in "Default location" always.
How reproducible:
Always
Is this issue a regression from an earlier version:
No, its reproducible also on 6.15.z
Steps to Reproduce:
1. Create a organization and location, create AK and create a non-admin user with "Register hosts" role
2. Login with the user and navigate to Hosts -> Register Host, and generate a registration command with created organization and location
3. Run the registration command on host, and check the host in Satellite webUI in specified organization and location
Actual behavior:
Host is not present in specified location, instead present in "Default location"
Expected behavior:
Host is present in specified location, instead of "Default location"
Business Impact / Additional info:
Updated by The Foreman Bot 9 days ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11324 added