manila/manila/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 Port share type extensions to core API 2015-11-12 14:58:20 +00:00
middleware Avoid Forcing the Translation of Translatable Variables 2016-10-06 01:09:57 +00:00
openstack Add mountable snapshots support 2017-01-24 17:26:45 -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 Only return share host for admins using shares API 2017-02-17 00:59:04 +00:00
__init__.py Remove enable_v1_api and enable_v2_api config opts 2016-08-23 08:27:22 +02:00
auth.py Replace deprecated [logger/LOG].warn with warning 2016-01-08 10:32:47 +08:00
common.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
extensions.py Trivial fix LOG.exception issues 2016-12-21 20:49:51 +08:00
urlmap.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
versions.py Mark 'v1' API deprecated in the versions response 2017-01-27 14:12:39 +00:00