summaryrefslogtreecommitdiff
path: root/heat/objects
diff options
context:
space:
mode:
authorrabi <ramishra@redhat.com>2016-07-18 18:45:28 +0530
committerrabi <ramishra@redhat.com>2016-08-16 12:38:33 +0530
commit1f88c675c42727ce4abd12c62df7017194d6c4ac (patch)
treed9ea2412dcfca7a68034ace49906526523d2ac17 /heat/objects
parentb412c2793a4890e5c7c6611455e5e6ee9157a4c5 (diff)
downloadheat-1f88c675c42727ce4abd12c62df7017194d6c4ac.tar.gz
Remove tenant_safe flag from rpc and db api
We can use admin_context to have access to stacks and software configs across projects. This removes the tenant_safe flag from rpc and db api. This is backward compatible with older rpc clients. We still support use of global_tenant flag for listing stacks and software configs. However, by default an admin(user with admin role in admin_project) would not need that. Change-Id: I12303dbf30fb80290f95baba0c67cdf684f5f409
Diffstat (limited to 'heat/objects')
-rw-r--r--heat/objects/stack.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/heat/objects/stack.py b/heat/objects/stack.py
index 1eeffd583..ee19cf2b2 100644
--- a/heat/objects/stack.py
+++ b/heat/objects/stack.py
@@ -112,7 +112,7 @@ class Stack(
@classmethod
def get_all(cls, context, limit=None, sort_keys=None, marker=None,
- sort_dir=None, filters=None, tenant_safe=True,
+ sort_dir=None, filters=None,
show_deleted=False, show_nested=False, show_hidden=False,
tags=None, tags_any=None, not_tags=None,
not_tags_any=None):
@@ -123,7 +123,6 @@ class Stack(
marker=marker,
sort_dir=sort_dir,
filters=filters,
- tenant_safe=tenant_safe,
show_deleted=show_deleted,
show_nested=show_nested,
show_hidden=show_hidden,