From 9cffb7010396e23233861f6aa119e1760eafa516 Mon Sep 17 00:00:00 2001 From: Brian Waldon Date: Thu, 22 Dec 2011 01:03:53 -0500 Subject: Make os-server-diagnostics extension admin-only Related to blueprint separate-nova-adminapi. This was overlooked in the initial commit that added this extension Change-Id: I4ed1cdb3b40eb54ab224d3b167e7ffcb31983f5b --- nova/api/openstack/v2/contrib/server_diagnostics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/api') diff --git a/nova/api/openstack/v2/contrib/server_diagnostics.py b/nova/api/openstack/v2/contrib/server_diagnostics.py index cfcf3627b..57ae4f341 100644 --- a/nova/api/openstack/v2/contrib/server_diagnostics.py +++ b/nova/api/openstack/v2/contrib/server_diagnostics.py @@ -42,7 +42,7 @@ class Server_diagnostics(extensions.ExtensionDescriptor): alias = "os-server-diagnostics" namespace = "http://docs.openstack.org/ext/server-diagnostics/api/v1.1" updated = "2011-12-21T00:00:00+00:00" - admin_only = False + admin_only = True def get_resources(self): parent_def = {'member_name': 'server', 'collection_name': 'servers'} -- cgit