manila/manila/api/v2
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
..
__init__.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
availability_zones.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
quota_class_sets.py Add new URLs for APIs ported from extensions 2015-12-01 12:15:06 +02:00
quota_sets.py Add the ability to check the tenant quota in detail 2016-12-28 10:32:24 +08:00
router.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
services.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
share_export_locations.py Fix multiple export locations during migration 2017-02-01 16:59:54 -02:00
share_group_snapshots.py Manila Share Groups 2017-01-23 21:29:12 +02:00
share_group_type_specs.py Manila Share Groups 2017-01-23 21:29:12 +02:00
share_group_types.py Fix creation of share group types using share type names 2017-01-27 20:21:42 +02:00
share_groups.py Manila Share Groups 2017-01-23 21:29:12 +02:00
share_instance_export_locations.py Update export location retrieval APIs 2016-03-02 09:32:28 -05:00
share_instances.py Move API module 'share_instances' under v2 dir 2015-12-02 14:07:55 +02:00
share_networks.py Fix getting share networks and security services error 2018-08-01 04:33:22 +00:00
share_replicas.py Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
share_snapshot_export_locations.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
share_snapshot_instance_export_locations.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
share_snapshot_instances.py Add snapshot instances admin APIs 2016-07-29 11:21:35 +08:00
share_snapshots.py Add mountable snapshots support 2017-01-24 17:26:45 -02:00
share_types.py Add create_share_from_snapshot_support extra spec 2016-12-21 09:57:08 -05:00
shares.py Pass access rules to driver on snapshot revert 2017-02-07 11:15:27 -05:00