manila/manila/tests/api
Jiao Pengju 95aea67f91 Fix getting share networks and security services error
It will fail when non-admin tenants try to get share networks
and security services with option '{all_tenants: 1}'.
The reason is that the policy of 'get_all_share_networks' and
'get_all_security_services' are admin api, they do not allow
the non-admin tenants list the share networks and security
services with all_tenants=1. This patch removes the policy check
of non-admin tenants and allows non-admin tenants to request to
list with 'all_tenants=1', however 'all_tenants' in the request
is just ignored.

Change-Id: Ied021b66333f1254cd232bbc38562a4a9b762ad2
Co-Authored-By: Goutham Pacha Ravi <gouthampravi@gmail.com>
Related-Bug: #1721787
(cherry picked from commit 9f69258cab)
(cherry picked from commit 7a6955dd7f)
2018-08-01 04:33:22 +00:00
..
contrib Add mountable snapshots support 2017-01-24 17:26:45 -02:00
extensions Remove vim headers 2014-10-06 15:00:27 +02:00
middleware Use assert(Not)In/Greater(Equal)/LessEqual/IsNotNone 2016-09-30 09:43:49 +02:00
openstack Manila Share Groups 2017-01-23 21:29:12 +02:00
v1 Fix getting share networks and security services error 2018-08-01 04:33:22 +00:00
v2 Fix getting share networks and security services error 2018-08-01 04:33:22 +00:00
views Refactor Access Rules APIs 2017-01-19 15:02:58 -05:00
__init__.py pep8: Enable H303 and F403 2014-08-23 10:40:52 +02:00
common.py Remove vim headers 2014-10-06 15:00:27 +02:00
fakes.py Allow share status reset to migration status 2016-12-28 20:26:00 +08:00
test_common.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
test_extensions.py Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00
test_middleware.py Added CORS support to Manila 2015-11-11 10:10:58 -08:00
test_versions.py Mark 'v1' API deprecated in the versions response 2017-01-27 14:12:39 +00:00
test_wsgi.py Fix order of arguments in assertEqual 2015-09-29 19:56:49 +09:00