Project

General

Profile

Feature #26092

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

Added by Tomer Brisker over 4 years ago. Updated almost 4 years ago.

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

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
Related to Foreman - Bug #28007: Cannot create hostgroup parameter using the API via "python-foreman" module / hammer CLI in foreman 1.23Duplicate
Related to Foreman - Bug #27740: Cannot set parameter for hostgroupClosed
Related to Foreman - Bug #28547: don't try to assign lone taxonomies for reportsClosed

Associated revisions

Revision da864ddc (diff)
Added by Tomer Brisker almost 4 years 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 about 4 years ago

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

#2 Updated by Tomer Brisker almost 4 years ago

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

#3 Updated by The Foreman Bot almost 4 years 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 almost 4 years ago

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

#5 Updated by Tomer Brisker almost 4 years ago

  • Target version set to 1.23.0

#6 Updated by Timo Goebel almost 4 years ago

  • Fixed in Releases 1.23.0 added

#7 Updated by Tomer Brisker almost 4 years ago

  • Status changed from Ready For Testing to Closed

#8 Updated by Kavita Gaikwad over 3 years ago

  • Related to Bug #28007: Cannot create hostgroup parameter using the API via "python-foreman" module / hammer CLI in foreman 1.23 added

#9 Updated by Tomer Brisker over 3 years ago

  • Related to Bug #27740: Cannot set parameter for hostgroup added

#10 Updated by Tomer Brisker over 3 years ago

  • Related to Bug #28547: don't try to assign lone taxonomies for reports added

Also available in: Atom PDF