Actions
Refactor #17497
openRefactor #find_resource to add blacklisted parameters
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Right now the first parameter that ends up with "_id" will be considered as a parent resource.
We need a way to blacklist some parameters so that they will not be considered as parents.
The code boils down to BaseController#parent_resource_details which iterates through all parameters passed to the request.
Updated by Shimon Shtein almost 8 years ago
- Related to Bug #16422: Foreman API throws ruby exception with ovirt network API added
Actions