-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.13.0, 6.14.0, 6.15.0
Description of problem:
When a user inherits admin rights from a user group, the Satellite GUI correctly indicates that the user has admin rights. Additionally, impersonating the user confirms that they possess admin privileges. However, the Hammer CLI output incorrectly shows that the user does not have admin rights.
How reproducible:
It is 100% reproducible
Is this issue a regression from an earlier version:
Steps to Reproduce:
1.Create a user group with administrator access in satellite GUI
# Login to satellite GUI --> Administrator --> User group --> create user group --> provide name and other details --> ROLES --> Administrator --> submit
2. Now, Create a user from the satellite GUI
- Login to satellite GUI --> Administrator --> User --> create user
3. Add the user to the usergroup.
Now, on satellite GUI will show the added user as admin user
4. [On satellite CLi]
- hammer user list
Actual behavior:
~]# hammer user list
--|---------|-----------|---------------------------|-----|--------|-------------------|-------------
ID | LOGIN | NAME | EMAIL | ADMIN | DISABLED | LAST LOGIN | AUTHORIZED BY
--|---------|-----------|---------------------------|-----|--------|-------------------|-------------
8 | testuser1 | | abc@gmail.com | no | no | | Internal
Expected behavior:
**
It should be Admin --> Yes for the user from the output of the hammer command
Business Impact / Additional info: