Bug 1502725 - Org-Admin cannot create user through UI/CLI if they have more than one organization assigned
Summary: Org-Admin cannot create user through UI/CLI if they have more than one organi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Organizations and Locations
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Renzo Nuccitelli
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-16 14:25 UTC by Marek Hulan
Modified: 2019-08-12 14:07 UTC (History)
9 users (show)

Fixed In Version: foreman-1.15.6.26-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1489367
Environment:
Last Closed: 2018-02-21 16:54:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21343 0 None None None 2017-10-16 14:25:11 UTC
Red Hat Bugzilla 1510064 0 medium CLOSED /statistics page does not respect organization context for admin user 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1517711 0 high CLOSED A user with "Organization admin" role is not able to access "Content Hosts" page in the webui. 2021-02-22 00:41:40 UTC

Internal Links: 1510064 1517711

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 Satellite Program 2017-10-16 16:17:46 UTC
Upstream bug assigned to mhulan

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

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

Comment 6 Satellite Program 2017-12-16 15:18:36 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21343 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 user --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 user --password password --auth-source-id 1 --organization-ids 3
User [user] created
# hammer -u orgadmin -p changeme user create --login user2 --mail user --password password --auth-source-id 1 --organization-ids 3,4
User [user2] created

Comment 9 Satellite Program 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.
> > 
> > https://access.redhat.com/errata/RHSA-2018:0336


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