Bug 1644586
| Summary: | System admin role cannot create new organizations | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Sanket Jagtap <sjagtap> |
| Component: | Users & Roles | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.5.0 | CC: | dhlavacd, mhulan |
| Target Milestone: | 6.5.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-05-14 12:38:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Sanket Jagtap
2018-10-31 08:13:41 UTC
Build: Satellite 6.5 snap8
hammer> user create --auth-source-id="1" --firstname="VzkJLVaVag" --lastname="EsiloJXIQt" --login="testsys" --mail="ZCKsBzyjuh" --password=aa --organization-ids=1 --role-ids="4" --location-ids=2
User [testsys] created.
hammer> user info --login testsys
Id: 54
Login: testsys
Name: VzkJLVaVag EsiloJXIQt
Email: ZCKsBzyjuh
Admin: no
Last login:
Authorized by: Internal
Effective admin: no
Locale: default
Timezone: default
Description:
Default organization:
Default location:
Roles:
System admin
User groups:
Inherited User groups:
Locations:
Default Location
Organizations:
Default Organization
testorg
Created at: 2018/12/19 06:06:11
Updated at: 2018/12/19 06:06:11
hammer> role info --id 4
Id: 4
Name: System admin
Builtin: no
Description: Role granting permissions for managing organizations, locations, users, usergroups, auth sources, roles, filters and settings. This is a very powerful role that can potentially gain access to all resources.
hammer> exit
[root@qe-sat6-feature-rhel7 ~]# hammer -u testsys -p aa shell
hammer> auth status
Using configured credentials for user 'testsys'.
hammer> organization create --name testorg
Organization created.
hammer> organization list
---|----------------------|----------------------|-------------|----------------------|------------
ID | TITLE | NAME | DESCRIPTION | LABEL | DESCRIPTION
---|----------------------|----------------------|-------------|----------------------|------------
1 | Default Organization | Default Organization | | Default_Organization |
34 | testorg | testorg | | testorg |
---|----------------------|----------------------|-------------|----------------------|------------
hammer> organization info --id 34
Id: 34
Title: testorg
Name: testorg
Description:
Users:
testsys
Smart proxies:
<snip>
Subnets:
Compute resources:
Installation media:
Templates:
Alterator default (provision)
<snip>
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-2019:1222 |