Comment 12 for bug 1721787

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to manila (stable/pike)

Reviewed: https://review.openstack.org/528731
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=7a6955dd7fa47b51e5f2a7766061066ffaa0af8d
Submitter: Zuul
Branch: stable/pike

commit 7a6955dd7fa47b51e5f2a7766061066ffaa0af8d
Author: Jiao Pengju <email address hidden>
Date: Thu Nov 23 23:15:36 2017 +0800

    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 <email address hidden>
    Related-Bug: #1721787
    (cherry picked from commit 9f69258cab9baf77384282b67feb390d0487d3b9)