Project

General

Profile

Feature #26092

When only one taxonomy of specific type is defined, api should default to that taxonomy

Added by Tomer Brisker 7 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

that way, e.g. when creating a new object without specifying organization it will be assigned to the default organization if that is the only one, when searching the list will default to the only organization etc.


Related issues

Related to Installer - Bug #15164: Need a method of specifying associated org when registering a smart proxyNew2016-05-24
Related to Foreman - Bug #27233: Mismatches for organization and location on production environment and domainClosed
Related to Katello - Bug #27014: 'initial organization' and 'initial location' does not assign to Satellite/Integral CapsuleClosed

Associated revisions

Revision da864ddc (diff)
Added by Tomer Brisker 2 months ago

Fixes #26092 - Assign taxonomy in api when only one present

When only one taxonomy of a certain type is present, we can
automatically assign it to created resources instead of requiring the
user to specify them. This is especially useful for resources created by
the installer such as smart proxies that will be assigned to the default
location and organization.

History

#1 Updated by Tomer Brisker 7 months ago

  • Related to Bug #15164: Need a method of specifying associated org when registering a smart proxy added

#2 Updated by Tomer Brisker 3 months ago

  • Related to Bug #27233: Mismatches for organization and location on production environment and domain added

#3 Updated by The Foreman Bot 3 months ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6878 added

#4 Updated by Tomer Brisker 3 months ago

  • Related to Bug #27014: 'initial organization' and 'initial location' does not assign to Satellite/Integral Capsule added

#5 Updated by Tomer Brisker 2 months ago

  • Target version set to 1.23.0

#6 Updated by Timo Goebel 2 months ago

  • Fixed in Releases 1.23.0 added

#7 Updated by Tomer Brisker 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF