WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH] CA-37155: vm-power-admin should access http/put_blob

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH] CA-37155: vm-power-admin should access http/put_blob
From: Marcus Granado <marcus.granado@xxxxxxxxxx>
Date: Wed, 10 Feb 2010 16:37:28 +0000
Delivery-date: Wed, 10 Feb 2010 08:37:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Marcus Granado <marcus.granado@xxxxxxxxxx>
# Date 1265819812 0
# Node ID a51b104b5b5309aed4fc8ccc1abeb2878a7520b8
# Parent  b69f5386fd8a0f1b938919953ae4d4ff522f57c7
CA-37155: vm-power-admin should access http/put_blob

otherwise vm-power-admin cannot save screenshots of snapshotted VMs.

Signed-off-by: Marcus Granado <marcus.granado@xxxxxxxxxxxxx>

diff -r b69f5386fd8a -r a51b104b5b53 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Tue Feb 02 17:20:12 2010 +0000
+++ b/ocaml/idl/datamodel.ml    Wed Feb 10 16:36:52 2010 +0000
@@ -6023,7 +6023,7 @@
                       [Int64_query_arg "start"; String_query_arg "cf"; 
Int64_query_arg "interval";
                        Bool_query_arg "host"; String_query_arg "uuid"; 
Bool_query_arg "json"], _R_READ_ONLY, []));
   ("get_blob", (Get, Constants.blob_uri, true, [String_query_arg "ref"], 
_R_READ_ONLY, []));
-  ("put_blob", (Put, Constants.blob_uri, true, [String_query_arg "ref"], 
_R_POOL_OP, []));
+  ("put_blob", (Put, Constants.blob_uri, true, [String_query_arg "ref"], 
_R_VM_POWER_ADMIN, []));
   ("get_message_rss_feed", (Get, Constants.message_rss_feed, false, [], 
_R_POOL_ADMIN, []));  (* not enabled in xapi *)
   ("connect_remotecmd", (Connect, Constants.remotecmd_uri, false, [], 
_R_POOL_ADMIN, []));
   ("post_remote_stats", (Post, Constants.remote_stats_uri, false, [], 
_R_POOL_ADMIN, []));  (* deprecated *)
1 file changed, 1 insertion(+), 1 deletion(-)
ocaml/idl/datamodel.ml |    2 +-


Attachment: xen-api.hg.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] CA-37155: vm-power-admin should access http/put_blob, Marcus Granado <=