Nodes can be deployed via the UI without having SSH keys
Bug #1439208 reported by
Raphaël Badin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Low
|
Unassigned |
Bug Description
I was experiencing bug 1439199 when I noticed that whether or not you can deploy the machines (which depends on whether or not you have SSH keys configured) is computed once and for all when the page loads: I had the node listing UI loaded and I deleted my SSH keys using another tab… coming back to the node listing page I could still deploy my machines.
Related branches
lp://qastaging/~blake-rouse/maas/fix-1439208
- Andres Rodriguez (community): Approve
- Mike Pontillo (community): Approve
-
Diff: 365 lines (+183/-9)10 files modifiedsrc/maasserver/testing/factory.py (+7/-0)
src/maasserver/tests/test_triggers.py (+4/-0)
src/maasserver/triggers.py (+24/-0)
src/maasserver/websockets/base.py (+16/-2)
src/maasserver/websockets/handlers/device.py (+1/-0)
src/maasserver/websockets/handlers/event.py (+1/-0)
src/maasserver/websockets/handlers/node.py (+1/-0)
src/maasserver/websockets/handlers/tests/test_event.py (+7/-5)
src/maasserver/websockets/tests/test_base.py (+16/-2)
src/maasserver/websockets/tests/test_listener.py (+106/-0)
Changed in maas: | |
milestone: | none → 1.8.0 |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Marking this low as it is a bit of a corner case… now I think it's a bit of a problem that the permission to perform the actions are not checked "on the fly" when you select the action instead of when the page loads.