Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1218932

Summary: API for creating users silently ignores location ids passed into default_organization_id
Product: Red Hat Satellite Reporter: Tomas Strachota <tstrachota>
Component: APIAssignee: Ohad Levy <ohadlevy>
Status: CLOSED WONTFIX QA Contact: Jitendra Yejare <jyejare>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-12 15:28:32 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 Tomas Strachota 2015-05-06 08:18:37 UTC
Description of problem:
API for creating users silently ignores location ids passed into default_organization_id and vice versa. No error is shown.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. List locations in the system, pick some id
2. Create a user via API, set default_organization_id to the value from the previous step
3. The user gets successfully created
4. Check details of the just created user. The default organization is blank.


Actual results:
It silently ignores the wrong id.


Expected results:
The call should return "Organization not found" error.


Additional info:

Comment 1 Tomas Strachota 2015-05-06 08:20:07 UTC
Related to https://bugzilla.redhat.com/show_bug.cgi?id=1218929

Comment 2 RHEL Program Management 2015-05-06 08:32:45 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 5 Bryan Kearney 2016-07-26 15:45:43 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 7 Bryan Kearney 2017-01-12 15:28:32 UTC
This is an older bug which I do not envision being fixed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.