# HG changeset patch # User Marcus Granado # 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 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 *)