[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] [PATCH] CA-41171: anyone should be able to access http/get_host_rrd



 ocaml/idl/datamodel.ml |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


# HG changeset patch
# User Marcus Granado <marcus.granado@xxxxxxxxxx>
# Date 1274958280 -3600
# Node ID 912974f795717300c85919aa4c623b12c9dd58eb
# Parent  d495a32dab0b50cca663a223904f5c511b30c505
CA-41171: anyone should be able to access http/get_host_rrd

otherwise historical performance data of hosts is only available to pool* 
subjects.

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

diff -r d495a32dab0b -r 912974f79571 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml
+++ b/ocaml/idl/datamodel.ml
@@ -6126,7 +6126,7 @@
                         [String_query_arg "entries"; String_query_arg 
"output"], _R_POOL_OP, []));
   ("get_vm_rrd", (Get, Constants.vm_rrd_uri, true, [String_query_arg "uuid"], 
_R_READ_ONLY, []));
   ("put_rrd", (Put, Constants.rrd_put_uri, false, [], _R_POOL_ADMIN, []));
-  ("get_host_rrd", (Get, Constants.host_rrd_uri, true, [Bool_query_arg 
"json"], _R_POOL_OP, []));
+  ("get_host_rrd", (Get, Constants.host_rrd_uri, true, [Bool_query_arg 
"json"], _R_READ_ONLY, []));
   ("get_rrd_updates", (Get, Constants.rrd_updates, true,
                       [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, []));

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

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.