From 1f4a46ea5d5bcdfd6b7d0cff4d695eded441f246 Mon Sep 17 00:00:00 2001 From: licanwei Date: Wed, 31 Aug 2016 15:30:31 +0800 Subject: [PATCH] The default value of 'is_admin_project' The default value of 'is_admin_project' should be 'True' As in the file '/oslo_context/context.py': def __init__(self,... is_admin_project=True) Change-Id: Id5e3f7347819deff27c6423679f9964fbb35f047 --- watcher/common/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watcher/common/context.py b/watcher/common/context.py index 243f14850..d357e7e05 100644 --- a/watcher/common/context.py +++ b/watcher/common/context.py @@ -51,7 +51,7 @@ class RequestContext(context.RequestContext): show_deleted=kwargs.pop('show_deleted', False), request_id=request_id, resource_uuid=kwargs.pop('resource_uuid', None), - is_admin_project=kwargs.pop('is_admin_project', None), + is_admin_project=kwargs.pop('is_admin_project', True), overwrite=overwrite, roles=roles)