[Kimchi-devel] [PATCH 5/5] Limit REST API /host to user with sudo rights.

Daniel H Barboza danielhb at linux.vnet.ibm.com
Mon Feb 10 12:10:12 UTC 2014


Reviewed-by: Daniel Barboza <danielhb at linux.vnet.ibm.com>

On 02/10/2014 12:32 AM, Leonardo Garcia wrote:
> From: Leonardo Garcia <lagarcia at br.ibm.com>
>
> Signed-off-by: Leonardo Garcia <lagarcia at br.ibm.com>
> ---
>   src/kimchi/control/host.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/kimchi/control/host.py b/src/kimchi/control/host.py
> index 053c822..6e0cbdb 100644
> --- a/src/kimchi/control/host.py
> +++ b/src/kimchi/control/host.py
> @@ -27,7 +27,7 @@ from kimchi.control.base import Collection, Resource
>   from kimchi.control.utils import UrlSubNode
>
>
> - at UrlSubNode("host", True)
> + at UrlSubNode("host", True, True)
>   class Host(Resource):
>       def __init__(self, model, id=None):
>           super(Host, self).__init__(model, id)




More information about the Kimchi-devel mailing list