Bug 2222576 - Non-admin users are not able to register host to the Non-default location defined in global registration template on Red Hat Satellite 6.
Summary: Non-admin users are not able to register host to the Non-default location def...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Registration
Version: 6.13.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-13 07:18 UTC by Akash Badak
Modified: 2023-07-18 11:13 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-19017 0 None None None 2023-07-18 11:13:04 UTC

Description Akash Badak 2023-07-13 07:18:31 UTC
Description of the problem:

Non-admin users are not able to register the host to the desired location, the host is getting registered to the default location.
If Admin Access is given to a Non-Admin user then the host gets registered to the desired /defined location without any error.

How reproducible:
100 %

Steps to Reproduce:
    1. Create a user "NA-USER" on Satellite GUI but don't mark it as Admin.
    2. Assign all the Roles to the user "NA-USER" but don't mark it as "Admin".
    3. Login using “NA-USER” generate a global registration script and register the host.

Actual results: 
   The host is getting registered to the default location and not to the Non-default location defined in the global registration template.

Expected results:
     The host should get registered without giving an error to the defined location.

Additional info:
If I assign the “Administrator” role along with the “register host”  role it's working

Comment 1 Leos Stejskal 2023-07-13 10:46:50 UTC
>    The host is getting registered to the default location and not to the Non-default location defined in the global registration template.

Hi,
can you please share:

1) generated registration command
2) Output of the command when you call it without the "| bash" at the end?


Note You need to log in before you can comment on or make changes to this bug.