`Mark Broken` and `Mark Fixed` permissions are too restrictive and inconsistent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Medium
|
Igor Brovtsin |
Bug Description
While working on LP:#1889026 and LP:#1994899, I found `Mark Broken` and `Mark Fixed` permissions unnecessary restrictive and inconsistent:
- `Mark Broken` is actionable only for machines owned by some user. This means that freshly-
- `Mark Broken` is only available to the user that has ownership over the machine. While it seems logical, it also means that the action is not available to the MAAS administrator if the machine is owned by a simple user (as noted in https:/
- `Mark Fixed` requires `NodePermission
While all three issues have pretty straightforward fixes to them (and there is an MP for the first two already), applying them might cause non-obvious security implications. Further analysis is required.
Changed in maas: | |
importance: | Undecided → Medium |
assignee: | nobody → Igor Brovtsin (igor-brovtsin) |
description: | updated |
Changed in maas: | |
milestone: | none → 3.4.0 |
status: | New → Triaged |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |