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/
Home Products Support Community News


[Xen-API] [PATCH] CA-39288: host-enable-disable-extauth should be pool-a

To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] [PATCH] CA-39288: host-enable-disable-extauth should be pool-admin
From: Marcus Granado <marcus.granado@xxxxxxxxxx>
Date: Fri, 26 Mar 2010 11:09:48 +0000
Delivery-date: Fri, 26 Mar 2010 04:08:20 -0700
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 1269542466 0
# Node ID 77fb225ec4c2d39fe6c962f2bb06c53e04d5069b
# Parent  eeddb6c9028499fff9a41ba5b0b56dd76af354c8
CA-39288: host-enable-disable-extauth should be pool-admin

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

diff -r eeddb6c90284 -r 77fb225ec4c2 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml    Thu Mar 25 18:41:06 2010 +0000
+++ b/ocaml/idl/datamodel.ml    Thu Mar 25 18:41:06 2010 +0000
@@ -3420,7 +3420,7 @@
     String, "auth_type", "The type of authentication (e.g. AD for Active 
   ~doc:"This call enables external authentication on a host"
-  ~allowed_roles:_R_POOL_OP
+  ~allowed_roles:_R_POOL_ADMIN
 let host_disable_external_auth = call ~flags:[`Session]
@@ -3432,7 +3432,7 @@
     {param_type=Map (String, String); param_name="config"; param_doc="Optional 
parameters as a list of key-values containing the configuration data"; 
param_release=george_release; param_default=Some (VMap [])}
   ~doc:"This call disables external authentication on the local host"
-  ~allowed_roles:_R_POOL_OP
+  ~allowed_roles:_R_POOL_ADMIN
 let host_set_license_params = call
1 file changed, 2 insertions(+), 2 deletions(-)
ocaml/idl/datamodel.ml |    4 ++--

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

xen-api mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-API] [PATCH] CA-39288: host-enable-disable-extauth should be pool-admin, Marcus Granado <=