storage section should only be editable when Ready or Allocated
Bug #1503475 reported by
Carla Berkers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Lee Trager |
Bug Description
On the node details the storage section should be editable when the node is either Ready or Allocated. All other states should be disabled.
Related branches
lp:~ltrager/maas/storage_editable_only_when_ready_or_allocated
- Blake Rouse (community): Approve
-
Diff: 1361 lines (+504/-91)9 files modifiedsrc/maasserver/static/js/angular/controllers/node_details.js (+9/-0)
src/maasserver/static/js/angular/controllers/node_details_networking.js (+0/-8)
src/maasserver/static/js/angular/controllers/node_details_storage.js (+51/-17)
src/maasserver/static/js/angular/controllers/tests/test_node_details.js (+16/-0)
src/maasserver/static/js/angular/controllers/tests/test_node_details_networking.js (+4/-25)
src/maasserver/static/js/angular/controllers/tests/test_node_details_storage.js (+304/-0)
src/maasserver/static/partials/node-details.html (+46/-24)
src/maasserver/websockets/handlers/node.py (+6/-0)
src/maasserver/websockets/handlers/tests/test_node.py (+68/-17)
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
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.
I think the only section we should allow to change at any time is the power section because something weird could happen where the user needs to change that to be able to release a node. Of course this is an administrator only thing.