[2.4, API] ipaddresses read doesn't show STATIC/AUTO ip addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned |
Bug Description
I have users who own machines and devices, but the 'ipaddresses' endpoint doesn't report that:
1. Scenario one - Admin user reading owned IPs: The admin user has machines & devices deployed to itself:
ubuntu@
Success.
Machine-readable output follows:
[]
2.Scenario two - Admin user reading owned IPs by a normal user who has devices owned to him:
ubuntu@
Success.
Machine-readable output follows:
[]
3. Scenario three - Admin user reading all IP address, not only owned:
ubuntu@
4. Scenario four - Normal user reading IP addresses it owns for devices it has with static IPs:
ubuntu@
Success.
Machine-readable output follows:
[]
Changed in maas: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 2.4.0rc2 |
Changed in maas: | |
milestone: | 2.4.0rc2 → 2.5.0 |
Changed in maas: | |
milestone: | 2.5.0 → 2.5.x |
Context: https:/ /bugs.launchpad .net/maas/ +bug/1629061
We should probably have a parameter that allows the user to read ip's owned by a machine/device/etc.