Updated openstack/openstack

Project: openstack/python-novaclient  7a2075756e8c06cfcf59d03ee42411b5c9acac12

Add --all-tenants option to 'nova delete'

Currently, the all_tenants=1 search option is being passed all the
time for 'nova delete' commands in order to enable 'nova delete' by
name to work across tenants, for those that have all_tenants access
in the nova policy.json. This however breaks all 'nova delete' for
non-admins when policy has been configured to allow only admin to
list servers across all_tenants.

This patch changes 'nova delete' to take an option --all-tenants to
get the functionality to delete by name across tenants. This is
similar to how 'nova list --all-tenants' works.

Closes-Bug: #1439381

Change-Id: I204daaf5c0f4dab7c93ef0bd85ffab3529ca352a
This commit is contained in:
Jenkins
2015-04-23 11:42:34 +00:00
committed by Gerrit Code Review
parent 30dc88d42e
commit 01ee3d4ecc