Feature #26092
When only one taxonomy of specific type is defined, api should default to that taxonomy
Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
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
Associated revisions
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
Applied in changeset da864ddc1dbb4b88400f2744eec75f4432104d5f.
#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
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.