Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1502725

Summary: Org-Admin cannot create user through UI/CLI if they have more than one organization assigned
Product: Red Hat Satellite 6 Reporter: Marek Hulan <mhulan>
Component: Organizations and LocationsAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Renzo Nuccitelli <rnuccite>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: akofink, bbuckingham, dcaplan, dhlavacd, dlobatog, jcallaha, jyejare, mhulan, rnuccite
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: foreman- Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1489367 Environment:
Last Closed: 2018-02-21 16:54:37 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:

Comment 1 Marek Hulan 2017-10-16 14:26:24 UTC
This should allow users being org admin of 2 or more orgs.

Comment 2 2017-10-16 16:17:46 UTC
Upstream bug assigned to

Comment 3 2017-10-16 16:17:49 UTC
Upstream bug assigned to

Comment 5 Marek Hulan 2017-10-30 15:54:50 UTC
Could we please get QACK?

Comment 6 2017-12-16 15:18:36 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue has been resolved.

Comment 8 Renzo Nuccitelli 2018-01-17 12:55:44 UTC
Verified on Satellite 6.3 snap 32 on UI and CLI:

# hammer -u orgadmin -p changeme user create --login user --mail --password password --auth-source-id 1
Could not create the user:
  Organization ids Invalid organizations selection, you must select at least one of yours and have 'assign_organizations' permission.
# hammer -u orgadmin -p changeme user create --login user --mail --password password --auth-source-id 1 --organization-ids 3
User [user] created
# hammer -u orgadmin -p changeme user create --login user2 --mail --password password --auth-source-id 1 --organization-ids 3,4
User [user2] created

Comment 9 2018-02-21 16:54:37 UTC
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.
> > 
> >