)]}'
{"specs/mitaka/approved/os-instance-actions-read-deleted-instances.rst":[{"author":{"_account_id":9076,"name":"Kris Lindgren","email":"klindgren@godaddy.com","username":"klindgren"},"change_message_id":"76d07b241c86e95ef53a4ff7ad9f3d385bf2724a","unresolved":false,"context_lines":[{"line_number":35,"context_line":"#. User A deletes a shared instance."},{"line_number":36,"context_line":"#. User B wants to know what happened to it (or who deleted it)."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"User B should be able to lookup the instance actions on the instance since they"},{"line_number":39,"context_line":"are in the same project as user A."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_f31c4315","line":38,"updated":"2015-11-21 01:58:23.000000000","message":"I thought listing deleted vm\u0027s was an admin only action?  Or at least admin by default?  So wouldn\u0027t the end user need to know the uuid of the vm - to then be able to show deleted actions on it?","commit_id":"d396e352837be9099a75bb6ca09b224fbe30ed1d"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"903e5d0a5af7257c1b6d2f30d56e18b3688ce3ec","unresolved":false,"context_lines":[{"line_number":35,"context_line":"#. User A deletes a shared instance."},{"line_number":36,"context_line":"#. User B wants to know what happened to it (or who deleted it)."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"User B should be able to lookup the instance actions on the instance since they"},{"line_number":39,"context_line":"are in the same project as user A."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_4f5e9746","line":38,"in_reply_to":"ba8a016a_222b3aed","updated":"2015-11-23 14:44:56.000000000","message":"I think non-admins should be able to get the instance actions for their deleted instances, yeah.  I can\u0027t think of a use case where we shouldn\u0027t allow that.\n\nI actually had another blueprint lined up to propose allowing non-admins to list/show their deleted instances:\n\nhttps://blueprints.launchpad.net/nova/+spec/non-admin-list-deleted-instances\n\nBut when we talked about that in IRC, it would expose more of the API to reading deleted instances which we said in YVR we wanted to stop doing if we ever wanted to remove soft delete (although I\u0027m not sure how feasible that is).","commit_id":"d396e352837be9099a75bb6ca09b224fbe30ed1d"},{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"e12b2e1b6b89d819ada482e917910f4aeea38bbb","unresolved":false,"context_lines":[{"line_number":35,"context_line":"#. User A deletes a shared instance."},{"line_number":36,"context_line":"#. User B wants to know what happened to it (or who deleted it)."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"User B should be able to lookup the instance actions on the instance since they"},{"line_number":39,"context_line":"are in the same project as user A."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_222b3aed","line":38,"in_reply_to":"ba8a016a_c430500a","updated":"2015-11-23 09:48:54.000000000","message":"just a question, can we let the normal user to see the deleted instance? Looks like let the normal user query the deleted instance is more convenient.","commit_id":"d396e352837be9099a75bb6ca09b224fbe30ed1d"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"fece3bd45a347fc3757304e7adee513ce283715a","unresolved":false,"context_lines":[{"line_number":35,"context_line":"#. User A deletes a shared instance."},{"line_number":36,"context_line":"#. User B wants to know what happened to it (or who deleted it)."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"User B should be able to lookup the instance actions on the instance since they"},{"line_number":39,"context_line":"are in the same project as user A."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_c430500a","line":38,"in_reply_to":"ba8a016a_f31c4315","updated":"2015-11-21 22:20:47.000000000","message":"Yeah, but they could have the uuid of the instance from before it was deleted.  It doesn\u0027t have to be the user either that needs this, the admin could be looking up the deleted instance using search filters, get the uuid and then lookup the actions on that deleted instance.  It\u0027s just that the difference in policy between reading deleted instances (there is no policy for that actually) and listing instance actions is for listing instance actions you have to, by default, be the admin or (project) owner.","commit_id":"d396e352837be9099a75bb6ca09b224fbe30ed1d"}]}
