manila/manila
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
..
api Fix getting share networks and security services error 2018-08-01 04:33:22 +00:00
cmd Merge "Tooz integration" 2017-01-20 00:04:56 +00:00
common Add mountable snapshots support 2017-01-24 17:26:45 -02:00
compute [Generic driver] Fix incompatibility with novaclient 2017-06-06 14:53:36 +00:00
data Refactor Access Rules APIs 2017-01-19 15:02:58 -05:00
db NetApp: Define 'preferred' to False instead of none 2017-07-20 17:48:50 -04:00
hacking [hacking] Ensure not to use LOG.warn 2016-11-30 06:36:51 +00:00
network Disable security group rule when create port 2018-01-20 03:50:00 +00:00
scheduler Add mountable snapshots support 2017-01-24 17:26:45 -02:00
share Merge "Disable security group rule when create port" into stable/ocata 2018-06-05 11:48:47 +00:00
share_group Manila Share Groups 2017-01-23 21:29:12 +02:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests Fix getting share networks and security services error 2018-08-01 04:33:22 +00:00
volume Add support of endpoint_type and region_name to clients manila uses 2016-11-02 18:14:04 +02:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Remove warnings for dropped context arguments 2016-10-26 22:52:36 +02:00
coordination.py Tooz integration 2017-01-19 14:29:31 -05:00
exception.py HNAS: Fix concurrency error when managing snapshots 2017-01-31 09:45:09 -02:00
i18n.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py Fix missing neutron net plugin options 2017-11-09 07:30:10 -05:00
policy.py Fix docstring for policy.enforce method 2016-05-02 08:28:13 -04:00
quota.py Update quota of proper user on resource delete 2016-03-11 12:55:44 +01:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Log config options with oslo.config 2018-03-25 14:18:09 -04:00
test.py Tooz integration 2017-01-19 14:29:31 -05:00
utils.py Fix issue with different decimal separators 2017-10-30 18:54:23 +00:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Put all imports from manila.i18n in one line 2016-09-14 06:07:33 +00:00