theforeman/foreman — pull request #1450 by dustint-rh (2014-05-15 20:26:37+00:00)
Title: Fixes #5750 - Add Org Ids to Users BZ1092656

Unable to create a user from the api with a default-organization-id set.
validation is present to check that a user's default-organization must
be a member user's organizations. the only way to pass validation is to
allow passing both organization and default organization during
creation.