Unused API parameters are silently dropped
Bug #1250392 reported by
Chris Glass
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
High
|
Unassigned |
Bug Description
When calling the MaaS API with random, invalid parameters, the invalid parameters are silently dropped.
As mentionned in bug #1248893, it would be nice to have extra parameters raise an error instead of being silently dropped.
Example: calling the list nodes API method with a random node attribute (like 'distro_series' or any other model field) will return the full list of nodes the user can see. It is silently dropped, and so the method call behaves as if no parameters were passed, and the full list of nodes is returned.
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.